From c7c66bd0d6eff75ca12a04528a2cd0b0a441c6eb Mon Sep 17 00:00:00 2001 From: mio Date: Sun, 26 Jan 2025 15:34:56 +0800 Subject: [PATCH] Fix plot_file header --- src/afl-fuzz-init.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 7e8fdb95..1c0411ee 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -2332,7 +2332,15 @@ void setup_dirs_fds(afl_state_t *afl) { afl->fsrv.plot_file, "# relative_time, cycles_done, cur_item, corpus_count, " "pending_total, pending_favs, map_size, saved_crashes, " - "saved_hangs, max_depth, execs_per_sec, total_execs, edges_found, total_crashes, servers_count, san1_exec...\n"); + "saved_hangs, max_depth, execs_per_sec, total_execs, edges_found, total_crashes, servers_count"); + + if (afl->san_binary_length) { + for (u8 i = 0; i < afl->san_binary_length; i++) { + fprintf(afl->fsrv.plot_file, ", sand_fsrv%u_exec", i); + } + } + + fprintf(afl->fsrv.plot_file, "\n"); } else {