about summary refs log tree commit diff
path: root/src/afl-fuzz-init.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-02-17 09:11:56 +0100
committervan Hauser <vh@thc.org>2020-02-17 09:11:56 +0100
commitd6d2a53087e1d52f32fe6eacf84a72b76927e361 (patch)
tree5e140a7b8287b3ba52449bf1599431d34bdfac10 /src/afl-fuzz-init.c
parent55e90c0c360203491e7b1dc22842aba0dc865ba5 (diff)
downloadafl++-d6d2a53087e1d52f32fe6eacf84a72b76927e361.tar.gz
little help on persistent mode crashes
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r--src/afl-fuzz-init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index fc3e1140..bf2f63c9 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -603,6 +603,10 @@ void perform_dry_run(char** argv) {
                "binary. Also,\n"
                "      if you are using ASAN, see %s/notes_for_asan.md.\n\n"
 
+               "    - In QEMU persistent mode the selected address(es) for the loop are not\n"
+               "      properly cleaning up variables and memory. Try adding\n"
+               "      AFL_QEMU_PERSISTENT_GPR=1 or select better addresses in the binary.\n\n"
+
                MSG_FORK_ON_APPLE
 
                "    - Least likely, there is a horrible bug in the fuzzer. If "
@@ -624,6 +628,10 @@ void perform_dry_run(char** argv) {
                "interesting\n"
                "      inputs - but not ones that cause an outright crash.\n\n"
 
+               "    - In QEMU persistent mode the selected address(es) for the loop are not\n"
+               "      properly cleaning up variables and memory. Try adding\n"
+               "      AFL_QEMU_PERSISTENT_GPR=1 or select better addresses in the binary.\n\n"
+
                MSG_FORK_ON_APPLE
 
                "    - Least likely, there is a horrible bug in the fuzzer. If "