Rename more options (#1626)

This commit is contained in:
Dongjia "toka" Zhang 2023-10-12 12:01:39 +02:00 committed by GitHub
parent f6ba9de044
commit cb9ace52e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -81,10 +81,10 @@ typedef uint32_t prev_loc_t;
using namespace llvm; 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); cl::init(false), cl::NotHidden);
static cl::opt<uint32_t> InstRatio( 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); cl::init(100), cl::NotHidden);
static cl::opt<bool> NotZero("not_zero", static cl::opt<bool> NotZero("not_zero",
cl::desc("Never hit 0 again in the hitcount"), cl::desc("Never hit 0 again in the hitcount"),
@ -100,7 +100,7 @@ static cl::opt<uint32_t> CtxK(
static cl::opt<bool> Ctx("ctx", static cl::opt<bool> Ctx("ctx",
cl::desc("Enable full context sensitive coverage"), cl::desc("Enable full context sensitive coverage"),
cl::init(false), cl::NotHidden); 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::desc("Use the thread safe instrumentation"),
cl::init(false), cl::NotHidden); cl::init(false), cl::NotHidden);
static cl::opt<bool> DumpCFG( static cl::opt<bool> DumpCFG(

View File

@ -155,9 +155,10 @@ static cl::opt<std::string> GranularityStr(
"granularity", cl::desc("Granularity of accounting (BB, FUNC)"), "granularity", cl::desc("Granularity of accounting (BB, FUNC)"),
cl::init(std::string("BB")), cl::NotHidden); cl::init(std::string("BB")), cl::NotHidden);
static cl::opt<uint32_t> InstRatio( static cl::opt<uint32_t> InstRatio(
"inst_ratio", cl::desc("Instrumentation ratio in percentage"), "inst_ratio_coverage_accounting",
cl::init(100), cl::NotHidden); cl::desc("Instrumentation ratio in percentage"), cl::init(100),
static cl::opt<bool> ThreadSafe("thread_safe", cl::NotHidden);
static cl::opt<bool> ThreadSafe("thread_safe_coverage_accounting",
cl::desc("Use the thread safe instrumentation"), cl::desc("Use the thread safe instrumentation"),
cl::init(false), cl::NotHidden); cl::init(false), cl::NotHidden);