diff --git a/src/afl-cc.c b/src/afl-cc.c index 38a0ad98..773e556b 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -247,7 +247,7 @@ static inline void insert_object(aflcc_state_t *aflcc, u8 *obj, u8 *fmt, /* Insert params into the new argv, make clang load the pass. */ static inline void load_llvm_pass(aflcc_state_t *aflcc, u8 *pass) { if (getenv("AFL_SAN_NO_INST")) { - if (debug) { + if (!be_quiet) { DEBUGF("Instrument disabled\n"); } return; @@ -2091,7 +2091,7 @@ void add_native_pcguard(aflcc_state_t *aflcc) { */ if (aflcc->have_rust_asanrt) { return; } if (getenv("AFL_SAN_NO_INST")) { - if (debug) { + if (!be_quiet) { DEBUGF("Instrument disabled\n"); } return; @@ -2131,7 +2131,7 @@ void add_native_pcguard(aflcc_state_t *aflcc) { void add_optimized_pcguard(aflcc_state_t *aflcc) { if (getenv("AFL_SAN_NO_INST")) { - if (debug) { + if (!be_quiet) { DEBUGF("Instrument disabled\n"); } return; diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c index 42f2741b..5b489c67 100644 --- a/src/afl-fuzz-bitmap.c +++ b/src/afl-fuzz-bitmap.c @@ -511,7 +511,6 @@ u8 __attribute__((hot)) save_if_interesting(afl_state_t *afl, void *mem, u8 san_fault = 0; u8 san_idx = 0; u8 feed_san = 0; - u8 crashed = 0; afl->san_case_status = 0;