Skip to content

Commit

Permalink
Rename more options (#1626)
Browse files Browse the repository at this point in the history
  • Loading branch information
tokatoka committed Oct 12, 2023
1 parent 7ad298d commit 05d41be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions libafl_cc/src/afl-coverage-pass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ typedef uint32_t prev_loc_t;

using namespace llvm;

static cl::opt<bool> Debug("debug-afl-coverage", cl::desc("Debug prints"),
static cl::opt<bool> Debug("debug_afl_coverage", cl::desc("Debug prints"),
cl::init(false), cl::NotHidden);
static cl::opt<uint32_t> 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<bool> NotZero("not_zero",
cl::desc("Never hit 0 again in the hitcount"),
Expand All @@ -100,7 +100,7 @@ static cl::opt<uint32_t> CtxK(
static cl::opt<bool> Ctx("ctx",
cl::desc("Enable full context sensitive coverage"),
cl::init(false), cl::NotHidden);
static cl::opt<bool> ThreadSafe("thread_safe",
static cl::opt<bool> ThreadSafe("thread_safe_afl_coverage",
cl::desc("Use the thread safe instrumentation"),
cl::init(false), cl::NotHidden);
static cl::opt<bool> DumpCFG(
Expand Down
7 changes: 4 additions & 3 deletions libafl_cc/src/coverage-accounting-pass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,10 @@ static cl::opt<std::string> GranularityStr(
"granularity", cl::desc("Granularity of accounting (BB, FUNC)"),
cl::init(std::string("BB")), cl::NotHidden);
static cl::opt<uint32_t> InstRatio(
"inst_ratio", cl::desc("Instrumentation ratio in percentage"),
cl::init(100), cl::NotHidden);
static cl::opt<bool> ThreadSafe("thread_safe",
"inst_ratio_coverage_accounting",
cl::desc("Instrumentation ratio in percentage"), cl::init(100),
cl::NotHidden);
static cl::opt<bool> ThreadSafe("thread_safe_coverage_accounting",
cl::desc("Use the thread safe instrumentation"),
cl::init(false), cl::NotHidden);

Expand Down

0 comments on commit 05d41be

Please sign in to comment.