Flushing for AFL_PRINT_FILENAMES

This commit is contained in:
Dominik Maier
2021-05-17 18:54:24 +02:00
parent fa63f2652d
commit 9d50ae7468
2 changed files with 7 additions and 2 deletions

View File

@ -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);