write expand havoc value to fuzzer_stats

This commit is contained in:
van Hauser 2020-07-22 02:41:19 +02:00
parent ce9b4698fe
commit 44928a0265

View File

@ -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 " : "",