diff --git a/libafl_cc/src/afl-coverage-pass.cc b/libafl_cc/src/afl-coverage-pass.cc index cee0a79533..b7375fd994 100644 --- a/libafl_cc/src/afl-coverage-pass.cc +++ b/libafl_cc/src/afl-coverage-pass.cc @@ -81,10 +81,10 @@ typedef uint32_t prev_loc_t; using namespace llvm; -static cl::opt Debug("debug-afl-coverage", cl::desc("Debug prints"), +static cl::opt Debug("debug_afl_coverage", cl::desc("Debug prints"), cl::init(false), cl::NotHidden); static cl::opt InstRatio( - "inst_ratio", cl::desc("Instrumentation ratio in percentage"), + "inst_ratio_afl_coverage", cl::desc("Instrumentation ratio in percentage"), cl::init(100), cl::NotHidden); static cl::opt NotZero("not_zero", cl::desc("Never hit 0 again in the hitcount"), @@ -100,7 +100,7 @@ static cl::opt CtxK( static cl::opt Ctx("ctx", cl::desc("Enable full context sensitive coverage"), cl::init(false), cl::NotHidden); -static cl::opt ThreadSafe("thread_safe", +static cl::opt ThreadSafe("thread_safe_afl_coverage", cl::desc("Use the thread safe instrumentation"), cl::init(false), cl::NotHidden); static cl::opt DumpCFG( diff --git a/libafl_cc/src/coverage-accounting-pass.cc b/libafl_cc/src/coverage-accounting-pass.cc index accef8f16f..f6b96e635f 100644 --- a/libafl_cc/src/coverage-accounting-pass.cc +++ b/libafl_cc/src/coverage-accounting-pass.cc @@ -155,9 +155,10 @@ static cl::opt GranularityStr( "granularity", cl::desc("Granularity of accounting (BB, FUNC)"), cl::init(std::string("BB")), cl::NotHidden); static cl::opt InstRatio( - "inst_ratio", cl::desc("Instrumentation ratio in percentage"), - cl::init(100), cl::NotHidden); -static cl::opt ThreadSafe("thread_safe", + "inst_ratio_coverage_accounting", + cl::desc("Instrumentation ratio in percentage"), cl::init(100), + cl::NotHidden); +static cl::opt ThreadSafe("thread_safe_coverage_accounting", cl::desc("Use the thread safe instrumentation"), cl::init(false), cl::NotHidden);