From f5d46187023b23beff9797e8b461a9a041db3e9f Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Fri, 31 Jan 2020 18:49:22 +0100 Subject: stop the fuzzer if AFL_QEMU_PERSISTENT_ADDR is wrong --- src/afl-fuzz-run.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/afl-fuzz-run.c') diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index 79573932..95c2c5d4 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -189,7 +189,11 @@ u8 run_target(char** argv, u32 timeout) { " - 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" + "culprit.\n" + " - If using persistent mode with QEMU, AFL_QEMU_PERSISTENT_ADDR " + "is\n" + " probably not valid (hint: add the base address in case of PIE)" + "\n\n" "If all else fails you can disable the fork server via " "AFL_NO_FORKSRV=1.\n", mem_limit); -- cgit 1.4.1