mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
add likely() to cksum check
This commit is contained in:
@ -575,7 +575,7 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* For AFLFast schedules we update the new queue entry */
|
/* For AFLFast schedules we update the new queue entry */
|
||||||
if (cksum) {
|
if (likely(cksum)) {
|
||||||
|
|
||||||
afl->queue_top->n_fuzz_entry = cksum % N_FUZZ_SIZE;
|
afl->queue_top->n_fuzz_entry = cksum % N_FUZZ_SIZE;
|
||||||
afl->n_fuzz[afl->queue_top->n_fuzz_entry] = 1;
|
afl->n_fuzz[afl->queue_top->n_fuzz_entry] = 1;
|
||||||
|
Reference in New Issue
Block a user