mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-08 16:21:32 +00:00
Merge pull request #1851 from chinggg/cmp_fuzz_p2
Skip calculating top_rated_fuzz_p2 with FAST schedule
This commit is contained in:
commit
2f1043bbdf
@ -737,7 +737,11 @@ void update_bitmap_score(afl_state_t *afl, struct queue_entry *q) {
|
|||||||
u64 top_rated_fav_factor;
|
u64 top_rated_fav_factor;
|
||||||
u64 top_rated_fuzz_p2;
|
u64 top_rated_fuzz_p2;
|
||||||
|
|
||||||
if (likely(afl->schedule >= FAST && afl->schedule <= RARE)) {
|
if (likely(afl->schedule >= FAST && afl->schedule < RARE)) {
|
||||||
|
|
||||||
|
top_rated_fuzz_p2 = 0; // Skip the fuzz_p2 comparison
|
||||||
|
|
||||||
|
} else if (unlikely(afl->schedule == RARE)) {
|
||||||
|
|
||||||
top_rated_fuzz_p2 =
|
top_rated_fuzz_p2 =
|
||||||
next_pow2(afl->n_fuzz[afl->top_rated[i]->n_fuzz_entry]);
|
next_pow2(afl->n_fuzz[afl->top_rated[i]->n_fuzz_entry]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user