about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authoryuan <ssspeed00@gmail.com>2021-06-04 15:49:34 +0800
committerGitHub <noreply@github.com>2021-06-04 09:49:34 +0200
commit36671ce79987859b1f0dfec88cb06c6eb7f5d12b (patch)
tree201ab12be4765c592caeff950d9cfefa42fec171 /src
parentf3b1c5c382b95f93a20f507b492c396a6284518c (diff)
downloadafl++-36671ce79987859b1f0dfec88cb06c6eb7f5d12b.tar.gz
fix ui fuzzing stage index (#960)
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-stats.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c
index 4884b942..a9c44cc0 100644
--- a/src/afl-fuzz-stats.c
+++ b/src/afl-fuzz-stats.c
@@ -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 {