mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
div hits
This commit is contained in:
@ -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); }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user