about summary refs log tree commit diff
path: root/src/afl-fuzz-bitmap.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-08-09 18:29:25 +0000
committerGitHub <noreply@github.com>2023-08-09 18:29:25 +0000
commitfa44d8f79f03c0aab3cfea93c37b70edc367c1bb (patch)
treef39de203508117dcb50b66baa8fd335a887a9c54 /src/afl-fuzz-bitmap.c
parent18d9234dfe4b6db32a2da335834908e49300e5cd (diff)
parent55d696fbae435e0e69adf75cb2df1361186fb999 (diff)
downloadafl++-fa44d8f79f03c0aab3cfea93c37b70edc367c1bb.tar.gz
Merge pull request #1831 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r--src/afl-fuzz-bitmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c
index fb8a1d4b..87157cad 100644
--- a/src/afl-fuzz-bitmap.c
+++ b/src/afl-fuzz-bitmap.c
@@ -533,7 +533,8 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
     close(fd);
     add_to_queue(afl, queue_fn, len, 0);
 
-    if (unlikely(afl->fuzz_mode) && likely(afl->switch_fuzz_mode)) {
+    if (unlikely(afl->fuzz_mode) &&
+        likely(afl->switch_fuzz_mode && !afl->non_instrumented_mode)) {
 
       if (afl->afl_env.afl_no_ui) {