fix: initialize n_fuzz_entry in perform_dry_run.

This commit is contained in:
Yiyi Wang
2024-04-25 21:28:58 +08:00
committed by GitHub
parent 951a0e5225
commit 526dbe8f16

View File

@ -914,6 +914,11 @@ 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 (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) {