mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
add schedule check.
This commit is contained in:
@ -915,7 +915,7 @@ void perform_dry_run(afl_state_t *afl) {
|
|||||||
res = calibrate_case(afl, q, use_mem, 0, 1);
|
res = calibrate_case(afl, q, use_mem, 0, 1);
|
||||||
|
|
||||||
/* For AFLFast schedules we update the queue entry */
|
/* For AFLFast schedules we update the queue entry */
|
||||||
if (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;
|
q->n_fuzz_entry = q->exec_cksum % N_FUZZ_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user