mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
add cpu affinity to fuzzer_stats
This commit is contained in:
@ -98,6 +98,7 @@ void write_stats_file(afl_state_t *afl, double bitmap_cvg, double stability,
|
|||||||
"exec_timeout : %u\n"
|
"exec_timeout : %u\n"
|
||||||
"slowest_exec_ms : %u\n"
|
"slowest_exec_ms : %u\n"
|
||||||
"peak_rss_mb : %lu\n"
|
"peak_rss_mb : %lu\n"
|
||||||
|
"cpu_affinity : %d\n"
|
||||||
"edges_found : %u\n"
|
"edges_found : %u\n"
|
||||||
"var_byte_count : %u\n"
|
"var_byte_count : %u\n"
|
||||||
"afl_banner : %s\n"
|
"afl_banner : %s\n"
|
||||||
@ -123,7 +124,7 @@ void write_stats_file(afl_state_t *afl, double bitmap_cvg, double stability,
|
|||||||
#else
|
#else
|
||||||
(unsigned long int)(rus.ru_maxrss >> 10),
|
(unsigned long int)(rus.ru_maxrss >> 10),
|
||||||
#endif
|
#endif
|
||||||
t_bytes, afl->var_byte_count, afl->use_banner,
|
afl->cpu_aff, t_bytes, afl->var_byte_count, afl->use_banner,
|
||||||
afl->unicorn_mode ? "unicorn" : "", afl->fsrv.qemu_mode ? "qemu " : "",
|
afl->unicorn_mode ? "unicorn" : "", afl->fsrv.qemu_mode ? "qemu " : "",
|
||||||
afl->non_instrumented_mode ? " non_instrumented " : "",
|
afl->non_instrumented_mode ? " non_instrumented " : "",
|
||||||
afl->no_forkserver ? "no_fsrv " : "", afl->crash_mode ? "crash " : "",
|
afl->no_forkserver ? "no_fsrv " : "", afl->crash_mode ? "crash " : "",
|
||||||
|
Reference in New Issue
Block a user