This commit is contained in:
vanhauser-thc
2023-02-27 18:34:35 +01:00
parent 2b5c9954f6
commit 86bf009792

View File

@ -67,7 +67,7 @@ double compute_weight(afl_state_t *afl, struct queue_entry *q,
if (likely(afl->schedule >= FAST && afl->schedule <= RARE)) { if (likely(afl->schedule >= FAST && afl->schedule <= RARE)) {
u32 hits = afl->n_fuzz[q->n_fuzz_entry]; u32 hits = afl->n_fuzz[q->n_fuzz_entry];
if (likely(hits)) { weight *= (log10(hits) + 1); } if (likely(hits)) { weight /= (log10(hits) + 1); }
} }