rename active_paths

This commit is contained in:
yuawn
2021-12-11 09:10:14 +00:00
parent 74aa826b60
commit 7603e49765
4 changed files with 8 additions and 8 deletions

View File

@ -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;
}

View File

@ -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;

View File

@ -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;

View File

@ -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");