diff options
author | Sergej Schumilo <sergej@schumilo.de> | 2023-04-16 04:42:09 +0200 |
---|---|---|
committer | Sergej Schumilo <sergej@schumilo.de> | 2023-04-16 04:42:09 +0200 |
commit | 059d470e8dd0a5339daefe0842f4ad5014717838 (patch) | |
tree | 807b4c2ed48181c935928670363ba3a84d6bfcad /src/afl-analyze.c | |
parent | 47833bcf9e4b642e090f7cc0da25d1ed99688e5e (diff) | |
download | afl++-059d470e8dd0a5339daefe0842f4ad5014717838.tar.gz |
improved Nyx tmp dir handling (additional sanity checks)
Diffstat (limited to 'src/afl-analyze.c')
-rw-r--r-- | src/afl-analyze.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c index 0bdadfdc..0a4e7fb5 100644 --- a/src/afl-analyze.c +++ b/src/afl-analyze.c @@ -1058,7 +1058,7 @@ int main(int argc, char **argv_orig, char **envp) { FATAL("failed to initialize libnyx.so..."); } - fsrv.out_dir_path = create_nyx_tmp_workdir(); + fsrv.nyx_use_tmp_workdir = true; fsrv.nyx_bind_cpu_id = 0; use_argv = argv + optind; @@ -1119,11 +1119,6 @@ int main(int argc, char **argv_orig, char **envp) { OKF("We're done here. Have a nice day!\n"); -#ifdef __linux__ - if (fsrv.nyx_mode) { - remove_nyx_tmp_workdir(fsrv.out_dir_path); - } -#endif afl_shm_deinit(&shm); afl_fsrv_deinit(&fsrv); |