about summary refs log tree commit diff
path: root/src/afl-fuzz-init.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-17 07:10:42 +0200
committervan Hauser <vh@thc.org>2020-04-17 07:10:42 +0200
commitc961925356bf3388066969b9975b424c4cdae890 (patch)
tree7a8e806add44f2d61fcff837ae040e8b1999ae9a /src/afl-fuzz-init.c
parent23ea7279159dce964c69b3dfa5e7e36f3d5a5085 (diff)
downloadafl++-c961925356bf3388066969b9975b424c4cdae890.tar.gz
fix plot_data output and code-format
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r--src/afl-fuzz-init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index 55f7ce53..7131ceed 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -1419,6 +1419,8 @@ void setup_dirs_fds(afl_state_t *afl) {
           "# unix_time, cycles_done, cur_path, paths_total, "
           "pending_total, pending_favs, map_size, unique_crashes, "
           "unique_hangs, max_depth, execs_per_sec\n");
+  fflush(afl->fsrv.plot_file);
+
   /* ignore errors */
 
 }