mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 12:48:06 +00:00
code format
This commit is contained in:
@ -468,24 +468,16 @@ bool AFLCoverage::runOnModule(Module &M) {
|
||||
if (!inst_blocks)
|
||||
WARNF("No instrumentation targets found.");
|
||||
else {
|
||||
|
||||
char modeline[100];
|
||||
snprintf(modeline, sizeof(modeline), "%s%s%s%s",
|
||||
getenv("AFL_HARDEN")
|
||||
? "hardened"
|
||||
: "non-hardened",
|
||||
getenv("AFL_USE_ASAN")
|
||||
? ", ASAN"
|
||||
: "",
|
||||
getenv("AFL_USE_MSAN")
|
||||
? ", MSAN"
|
||||
: "",
|
||||
getenv("AFL_USE_UBSAN")
|
||||
? ", UBSAN"
|
||||
: ""
|
||||
);
|
||||
snprintf(modeline, sizeof(modeline), "%s%s%s%s",
|
||||
getenv("AFL_HARDEN") ? "hardened" : "non-hardened",
|
||||
getenv("AFL_USE_ASAN") ? ", ASAN" : "",
|
||||
getenv("AFL_USE_MSAN") ? ", MSAN" : "",
|
||||
getenv("AFL_USE_UBSAN") ? ", UBSAN" : "");
|
||||
OKF("Instrumented %u locations (%s mode, ratio %u%%).", inst_blocks,
|
||||
modeline,
|
||||
inst_ratio);
|
||||
modeline, inst_ratio);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user