bugfix for fixed seeds

This commit is contained in:
van Hauser
2020-09-07 17:30:28 +02:00
parent 7bcbfd48e5
commit 6404abd7d6
2 changed files with 11 additions and 3 deletions

View File

@ -502,7 +502,7 @@ u32 calculate_score(afl_state_t *afl, struct queue_entry *q) {
// Longer execution time means longer work on the input, the deeper in
// coverage, the better the fuzzing, right? -mh
if (afl->schedule >= RARE && likely(!afl->fixed_seed)) {
if (likely(afl->schedule < RARE) && likely(!afl->fixed_seed)) {
if (q->exec_us * 0.1 > avg_exec_us) {