aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-03-05 10:15:38 +0100
committervanhauser-thc <vh@thc.org>2021-03-05 10:15:38 +0100
commitf848562732337c2d3c71ace4667b3130574f0fe4 (patch)
tree2d63fac82e337f6fd396b68407072ce507bc3f85 /src
parent3342aa751d8e9102449e1739b38a25c40ab18e81 (diff)
downloadafl++-f848562732337c2d3c71ace4667b3130574f0fe4.tar.gz
point explicitly to AFL_MAP_SIZE on problems
Diffstat (limited to 'src')
-rw-r--r--src/afl-forkserver.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/afl-forkserver.c b/src/afl-forkserver.c
index a129c152..6f08f9f4 100644
--- a/src/afl-forkserver.c
+++ b/src/afl-forkserver.c
@@ -909,10 +909,12 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
} else if (!fsrv->mem_limit) {
SAYF("\n" cLRD "[-] " cRST
- "Hmm, looks like the target binary terminated before we could"
- " complete a handshake with the injected code.\n"
- "If the target was compiled with afl-clang-lto and AFL_LLVM_MAP_ADDR"
- " then recompiling without this parameter.\n"
+ "Hmm, looks like the target binary terminated before we could complete"
+ " a\n"
+ "handshake with the injected code.\n"
+ "Most likely the target has a huge coverage map, retry with setting"
+ " the\n"
+ "environment variable AFL_MAP_SIZE=4194304\n"
"Otherwise there is a horrible bug in the fuzzer.\n"
"Poke <afl-users@googlegroups.com> for troubleshooting tips.\n");
@@ -928,6 +930,10 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
"explanations:\n\n"
"%s"
+
+ " - Most likely the target has a huge coverage map, retry with setting the\n"
+ " environment variable AFL_MAP_SIZE=4194304\n\n"
+
" - The current memory limit (%s) is too restrictive, causing an "
"OOM\n"
" fault in the dynamic linker. This can be fixed with the -m "