mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 03:18:07 +00:00
rename active_paths
This commit is contained in:
@ -920,7 +920,7 @@ void perform_dry_run(afl_state_t *afl) {
|
|||||||
|
|
||||||
q->was_fuzzed = 1;
|
q->was_fuzzed = 1;
|
||||||
--afl->pending_not_fuzzed;
|
--afl->pending_not_fuzzed;
|
||||||
--afl->active_paths;
|
--afl->active_items;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1051,7 +1051,7 @@ void perform_dry_run(afl_state_t *afl) {
|
|||||||
|
|
||||||
q->was_fuzzed = 1;
|
q->was_fuzzed = 1;
|
||||||
--afl->pending_not_fuzzed;
|
--afl->pending_not_fuzzed;
|
||||||
--afl->active_paths;
|
--afl->active_items;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1162,7 +1162,7 @@ void perform_dry_run(afl_state_t *afl) {
|
|||||||
|
|
||||||
p->was_fuzzed = 1;
|
p->was_fuzzed = 1;
|
||||||
--afl->pending_not_fuzzed;
|
--afl->pending_not_fuzzed;
|
||||||
--afl->active_paths;
|
--afl->active_items;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1175,7 +1175,7 @@ void perform_dry_run(afl_state_t *afl) {
|
|||||||
|
|
||||||
q->was_fuzzed = 1;
|
q->was_fuzzed = 1;
|
||||||
--afl->pending_not_fuzzed;
|
--afl->pending_not_fuzzed;
|
||||||
--afl->active_paths;
|
--afl->active_items;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -547,7 +547,7 @@ u8 fuzz_one_original(afl_state_t *afl) {
|
|||||||
afl->queue_cur->perf_score = orig_perf = perf_score =
|
afl->queue_cur->perf_score = orig_perf = perf_score =
|
||||||
calculate_score(afl, afl->queue_cur);
|
calculate_score(afl, afl->queue_cur);
|
||||||
|
|
||||||
if (unlikely(perf_score <= 0 && afl->active_paths > 1)) {
|
if (unlikely(perf_score <= 0 && afl->active_items > 1)) {
|
||||||
|
|
||||||
goto abandon_entry;
|
goto abandon_entry;
|
||||||
|
|
||||||
@ -3064,7 +3064,7 @@ static u8 mopt_common_fuzzing(afl_state_t *afl, MOpt_globals_t MOpt_globals) {
|
|||||||
else
|
else
|
||||||
orig_perf = perf_score = calculate_score(afl, afl->queue_cur);
|
orig_perf = perf_score = calculate_score(afl, afl->queue_cur);
|
||||||
|
|
||||||
if (unlikely(perf_score <= 0 && afl->active_paths > 1)) {
|
if (unlikely(perf_score <= 0 && afl->active_items > 1)) {
|
||||||
|
|
||||||
goto abandon_entry;
|
goto abandon_entry;
|
||||||
|
|
||||||
|
@ -548,7 +548,7 @@ void add_to_queue(afl_state_t *afl, u8 *fname, u32 len, u8 passed_det) {
|
|||||||
if (likely(q->len > 4)) afl->ready_for_splicing_count++;
|
if (likely(q->len > 4)) afl->ready_for_splicing_count++;
|
||||||
|
|
||||||
++afl->queued_items;
|
++afl->queued_items;
|
||||||
++afl->active_paths;
|
++afl->active_items;
|
||||||
++afl->pending_not_fuzzed;
|
++afl->pending_not_fuzzed;
|
||||||
|
|
||||||
afl->cycles_wo_finds = 0;
|
afl->cycles_wo_finds = 0;
|
||||||
|
@ -461,7 +461,7 @@ static u8 colorization(afl_state_t *afl, u8 *buf, u32 len,
|
|||||||
|
|
||||||
if (afl->colorize_success && afl->cmplog_lvl < 3 &&
|
if (afl->colorize_success && afl->cmplog_lvl < 3 &&
|
||||||
(positions > CMPLOG_POSITIONS_MAX && len / positions == 1 &&
|
(positions > CMPLOG_POSITIONS_MAX && len / positions == 1 &&
|
||||||
afl->active_paths / afl->colorize_success > CMPLOG_CORPUS_PERCENT)) {
|
afl->active_items / afl->colorize_success > CMPLOG_CORPUS_PERCENT)) {
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
fprintf(stderr, "Colorization unsatisfactory\n");
|
fprintf(stderr, "Colorization unsatisfactory\n");
|
||||||
|
Reference in New Issue
Block a user