diff options
author | vanhauser-thc <vh@thc.org> | 2023-02-27 18:34:35 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-02-27 18:34:35 +0100 |
commit | 86bf0097921bbe9867a0ec7e9b108c5d72907d6b (patch) | |
tree | 5d9e83eab215768d66500bd0143e1b6affdcd4fe /src | |
parent | 2b5c9954f6099d7a70cbcf2db9af5a19327f385f (diff) | |
download | afl++-86bf0097921bbe9867a0ec7e9b108c5d72907d6b.tar.gz |
div hits
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c index 65446799..4eb55bb3 100644 --- a/src/afl-fuzz-queue.c +++ b/src/afl-fuzz-queue.c @@ -67,7 +67,7 @@ double compute_weight(afl_state_t *afl, struct queue_entry *q, if (likely(afl->schedule >= FAST && afl->schedule <= RARE)) { u32 hits = afl->n_fuzz[q->n_fuzz_entry]; - if (likely(hits)) { weight *= (log10(hits) + 1); } + if (likely(hits)) { weight /= (log10(hits) + 1); } } |