Skip to content

Commit cb9ace5

Browse files
authored
Rename more options (#1626)
1 parent f6ba9de commit cb9ace5

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

libafl_cc/src/afl-coverage-pass.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ typedef uint32_t prev_loc_t;
8181

8282
using namespace llvm;
8383

84-
static cl::opt<bool> Debug("debug-afl-coverage", cl::desc("Debug prints"),
84+
static cl::opt<bool> Debug("debug_afl_coverage", cl::desc("Debug prints"),
8585
cl::init(false), cl::NotHidden);
8686
static cl::opt<uint32_t> InstRatio(
87-
"inst_ratio", cl::desc("Instrumentation ratio in percentage"),
87+
"inst_ratio_afl_coverage", cl::desc("Instrumentation ratio in percentage"),
8888
cl::init(100), cl::NotHidden);
8989
static cl::opt<bool> NotZero("not_zero",
9090
cl::desc("Never hit 0 again in the hitcount"),
@@ -100,7 +100,7 @@ static cl::opt<uint32_t> CtxK(
100100
static cl::opt<bool> Ctx("ctx",
101101
cl::desc("Enable full context sensitive coverage"),
102102
cl::init(false), cl::NotHidden);
103-
static cl::opt<bool> ThreadSafe("thread_safe",
103+
static cl::opt<bool> ThreadSafe("thread_safe_afl_coverage",
104104
cl::desc("Use the thread safe instrumentation"),
105105
cl::init(false), cl::NotHidden);
106106
static cl::opt<bool> DumpCFG(

libafl_cc/src/coverage-accounting-pass.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,10 @@ static cl::opt<std::string> GranularityStr(
155155
"granularity", cl::desc("Granularity of accounting (BB, FUNC)"),
156156
cl::init(std::string("BB")), cl::NotHidden);
157157
static cl::opt<uint32_t> InstRatio(
158-
"inst_ratio", cl::desc("Instrumentation ratio in percentage"),
159-
cl::init(100), cl::NotHidden);
160-
static cl::opt<bool> ThreadSafe("thread_safe",
158+
"inst_ratio_coverage_accounting",
159+
cl::desc("Instrumentation ratio in percentage"), cl::init(100),
160+
cl::NotHidden);
161+
static cl::opt<bool> ThreadSafe("thread_safe_coverage_accounting",
161162
cl::desc("Use the thread safe instrumentation"),
162163
cl::init(false), cl::NotHidden);
163164

0 commit comments

Comments
 (0)