fix exploit, mmopt and rare schedule

This commit is contained in:
van Hauser
2020-09-19 15:13:15 +02:00
parent 44c0dc6d96
commit 7ff9800804
3 changed files with 9 additions and 9 deletions

View File

@ -710,7 +710,7 @@ u32 calculate_score(afl_state_t *afl, struct queue_entry *q) {
}
if (unlikely(afl->schedule >= FAST && afl->schedule <= RARE)) {
if (unlikely(afl->schedule >= EXPLOIT && afl->schedule <= QUAD)) {
if (factor > MAX_FACTOR) { factor = MAX_FACTOR; }
perf_score *= factor / POWER_BETA;