rename active_paths
MODIFY
src/afl-fuzz-init.c
src/afl-fuzz-init.c
@@ -920,7 +920,7 @@ void perform_dry_run(afl_state_t *afl) {
q->was_fuzzed = 1;
--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;
--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;
--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;
--afl->pending_not_fuzzed;
- --afl->active_paths;
+ --afl->active_items;
}

MODIFY
src/afl-fuzz-one.c
src/afl-fuzz-one.c
@@ -547,7 +547,7 @@ u8 fuzz_one_original(afl_state_t *afl) {
afl->queue_cur->perf_score = 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;
@@ -3064,7 +3064,7 @@ static u8 mopt_common_fuzzing(afl_state_t *afl, MOpt_globals_t MOpt_globals) {
else
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;

MODIFY
src/afl-fuzz-queue.c
src/afl-fuzz-queue.c
@@ -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++;
++afl->queued_items;
- ++afl->active_paths;
+ ++afl->active_items;
++afl->pending_not_fuzzed;
afl->cycles_wo_finds = 0;

MODIFY
src/afl-fuzz-redqueen.c
src/afl-fuzz-redqueen.c
@@ -461,7 +461,7 @@ static u8 colorization(afl_state_t *afl, u8 *buf, u32 len,
if (afl->colorize_success && afl->cmplog_lvl < 3 &&
(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
fprintf(stderr, "Colorization unsatisfactory\n");

rename active_paths