mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 04:58:08 +00:00
v1
This commit is contained in:
@ -1022,9 +1022,12 @@ u32 calculate_score(afl_state_t *afl, struct queue_entry *q) {
|
||||
|
||||
if (likely(afl->schedule == WEIGHT)) {
|
||||
|
||||
u32 val = 200;
|
||||
u32 val = 100;
|
||||
|
||||
return val * (q->weight * 2);
|
||||
if (unlikely(q->favored)) { val = val << 1; }
|
||||
if (unlikely(!q->was_fuzzed)) { val = val << 1; }
|
||||
|
||||
return val * (q->weight);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user