Update afl-fuzz-queue.c

This commit is contained in:
Marcel Böhme
2020-12-29 14:57:05 +11:00
committed by GitHub
parent d103e39f58
commit 0922763db1

View File

@ -112,12 +112,8 @@ void create_alias_table(afl_state_t *afl) {
struct queue_entry *q = afl->queue_buf[i];
if (!q->disabled) {
q->weight = compute_weight(afl, q, avg_exec_us, avg_bitmap_size);
q->perf_score = calculate_score(afl, q);
}
q->weight = q->disabled ? 0 : compute_weight(afl, q, avg_exec_us, avg_bitmap_size);
q->perf_score = q->disabled ? 0 : calculate_score(afl, q);
sum += q->weight;