diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-10-02 20:15:23 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-10-02 20:15:23 +0200 |
commit | baff2ce80f6da4ae64a5c0447e550e04429bca5b (patch) | |
tree | 0d08ce533731dc08fa49b3f5827b71c6d108b158 /src/afl-fuzz-run.c | |
parent | 8a7fed5dfb27b68a328e409e4c3b5d95ca1a57e7 (diff) | |
parent | a962359993654ddcc3568a73e85fcfafcecfa4c5 (diff) | |
download | afl++-baff2ce80f6da4ae64a5c0447e550e04429bca5b.tar.gz |
Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index 220433fc..c0fa928e 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -178,7 +178,16 @@ u8 run_target(char** argv, u32 timeout) { if ((res = read(fsrv_st_fd, &status, 4)) != 4) { if (stop_soon) return 0; - RPFATAL(res, "Unable to communicate with fork server (OOM?)"); + SAYF("\n" cLRD "[-] " cRST + "Unable to communicate with fork server. Some possible reasons:\n\n" + " - You've run out of memory. Use -m to increase the the memory limit\n" + " to something higher than %lld.\n" + " - The binary or one of the libraries it uses manages to create\n" + " threads before the forkserver initializes.\n" + " - The binary, at least in some circumstances, exits in a way that\n" + " also kills the parent process - raise() could be the culprit.\n\n" + "If all else fails you can disable the fork server via AFL_NO_FORKSRV=1.\n", mem_limit); + RPFATAL(res, "Unable to communicate with fork server"); } |