This commit is contained in:
vanhauser-thc
2023-08-13 10:18:33 +02:00
parent f838509d49
commit 26f29fd485
3 changed files with 23 additions and 9 deletions

View File

@ -474,7 +474,7 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
/* Generating a hash on every input is super expensive. Bad idea and should
only be used for special schedules */
if (unlikely(afl->schedule >= FAST && afl->schedule <= RARE)) {
if (likely(afl->schedule >= FAST && afl->schedule <= RARE)) {
classify_counts(&afl->fsrv);
classified = 1;