diff options
author | Dominik Maier <domenukk@gmail.com> | 2021-05-17 18:54:24 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2021-05-17 18:54:30 +0200 |
commit | 9d50ae7468970412177c9e08edf7f32ff9fdf1ce (patch) | |
tree | cdf2f7500b77100f0049be6e6178d54cf80241ed /src | |
parent | fa63f2652dbcc6016ff5cf4bd8ca0d14954ae769 (diff) | |
download | afl++-9d50ae7468970412177c9e08edf7f32ff9fdf1ce.tar.gz |
Flushing for AFL_PRINT_FILENAMES
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-forkserver.c | 2 | ||||
-rw-r--r-- | src/afl-showmap.c | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/afl-forkserver.c b/src/afl-forkserver.c index 0286ab47..3d472b36 100644 --- a/src/afl-forkserver.c +++ b/src/afl-forkserver.c @@ -454,7 +454,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv, if (!fsrv->debug) { r.rlim_max = r.rlim_cur = 0; - setrlimit(RLIMIT_CORE, &r); /* Ignore errors */ + setrlimit(RLIMIT_CORE, &r); /* Ignore errors */ } diff --git a/src/afl-showmap.c b/src/afl-showmap.c index 336ac126..10818905 100644 --- a/src/afl-showmap.c +++ b/src/afl-showmap.c @@ -376,7 +376,12 @@ static void showmap_run_target_forkserver(afl_forkserver_t *fsrv, u8 *mem, static u32 read_file(u8 *in_file) { - if (print_filenames) { SAYF("Processing %s\n", in_file); } + if (print_filenames) { + + SAYF("Processing %s\n", in_file); + fflush(stdout); + + } struct stat st; s32 fd = open(in_file, O_RDONLY); |