mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 12:18:08 +00:00
Flushing for AFL_PRINT_FILENAMES
This commit is contained in:
@ -454,7 +454,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
|
|||||||
if (!fsrv->debug) {
|
if (!fsrv->debug) {
|
||||||
|
|
||||||
r.rlim_max = r.rlim_cur = 0;
|
r.rlim_max = r.rlim_cur = 0;
|
||||||
setrlimit(RLIMIT_CORE, &r); /* Ignore errors */
|
setrlimit(RLIMIT_CORE, &r); /* Ignore errors */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -376,7 +376,12 @@ static void showmap_run_target_forkserver(afl_forkserver_t *fsrv, u8 *mem,
|
|||||||
|
|
||||||
static u32 read_file(u8 *in_file) {
|
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;
|
struct stat st;
|
||||||
s32 fd = open(in_file, O_RDONLY);
|
s32 fd = open(in_file, O_RDONLY);
|
||||||
|
Reference in New Issue
Block a user