AFL_DISABLE_REDUNDANT

This commit is contained in:
vanhauser-thc
2024-05-02 08:35:24 +02:00
parent 5d623a27ed
commit 26eaf53a83
9 changed files with 27 additions and 8 deletions

View File

@ -933,10 +933,13 @@ void perform_dry_run(afl_state_t *afl) {
res = calibrate_case(afl, q, use_mem, 0, 1);
/* For AFLFast schedules we update the queue entry */
if (unlikely(afl->schedule >= FAST && afl->schedule <= RARE) && likely(q->exec_cksum)) {
if (unlikely(afl->schedule >= FAST && afl->schedule <= RARE) &&
likely(q->exec_cksum)) {
q->n_fuzz_entry = q->exec_cksum % N_FUZZ_SIZE;
}
if (afl->stop_soon) { return; }
if (res == afl->crash_mode || res == FSRV_RUN_NOBITS) {