about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-22 02:41:19 +0200
committervan Hauser <vh@thc.org>2020-07-22 02:41:19 +0200
commit44928a0265f08021b41568651f0bca6cd1aacc7c (patch)
treee9699c66006bac12c56fbb1d07c71f9b48866dd0 /src
parentce9b4698fec5222e0af1b62d68c4105e6364771e (diff)
downloadafl++-44928a0265f08021b41568651f0bca6cd1aacc7c.tar.gz
write expand havoc value to fuzzer_stats
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-stats.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c
index fc93011b..f53205fb 100644
--- a/src/afl-fuzz-stats.c
+++ b/src/afl-fuzz-stats.c
@@ -105,6 +105,7 @@ void write_stats_file(afl_state_t *afl, double bitmap_cvg, double stability,
       "cpu_affinity      : %d\n"
       "edges_found       : %u\n"
       "var_byte_count    : %u\n"
+      "havoc_expansion   : %u\n"
       "afl_banner        : %s\n"
       "afl_version       : " VERSION
       "\n"
@@ -137,7 +138,7 @@ void write_stats_file(afl_state_t *afl, double bitmap_cvg, double stability,
 #else
       -1,
 #endif
-      t_bytes, afl->var_byte_count, afl->use_banner,
+      t_bytes, afl->var_byte_count, afl->expand_havoc, afl->use_banner,
       afl->unicorn_mode ? "unicorn" : "", afl->fsrv.qemu_mode ? "qemu " : "",
       afl->non_instrumented_mode ? " non_instrumented " : "",
       afl->no_forkserver ? "no_fsrv " : "", afl->crash_mode ? "crash " : "",