Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename more options #1626

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading