fix ui fuzzing stage index (#960)

This commit is contained in:
yuan
2021-06-04 15:49:34 +08:00
committed by GitHub
parent f3b1c5c382
commit 36671ce799

View File

@ -1017,9 +1017,10 @@ void show_stats(afl_state_t *afl) {
if (unlikely(afl->afl_env.afl_custom_mutator_library)) {
strcat(tmp, " ");
strcat(tmp, u_stringify_int(IB(2), afl->stage_finds[STAGE_PYTHON]));
strcat(tmp, u_stringify_int(IB(2), afl->stage_finds[STAGE_CUSTOM_MUTATOR]));
strcat(tmp, "/");
strcat(tmp, u_stringify_int(IB(3), afl->stage_cycles[STAGE_PYTHON]));
strcat(tmp,
u_stringify_int(IB(3), afl->stage_cycles[STAGE_CUSTOM_MUTATOR]));
strcat(tmp, ",");
} else {