about summary refs log tree commit diff
path: root/src/afl-fuzz-bitmap.c
diff options
context:
space:
mode:
authorRuben ten Hove <ruben.tenhove@tno.nl>2022-06-18 00:41:50 +0200
committerRuben ten Hove <ruben.tenhove@tno.nl>2022-06-18 00:41:50 +0200
commit60702fef7a75ee45fbee738e0449a8035916e9d5 (patch)
treee5cc7272f97d2b69d570ab04a52835fcaaeed28a /src/afl-fuzz-bitmap.c
parent47d894747169692362eb0266017753e0838ecc2c (diff)
parenta96f9a349a437c876170939b1a1b123e1611998b (diff)
downloadafl++-60702fef7a75ee45fbee738e0449a8035916e9d5.tar.gz
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r--src/afl-fuzz-bitmap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c
index 26e70d81..089f7bb5 100644
--- a/src/afl-fuzz-bitmap.c
+++ b/src/afl-fuzz-bitmap.c
@@ -720,7 +720,12 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
 
       }
 
-      if (unlikely(!afl->saved_crashes)) { write_crash_readme(afl); }
+      if (unlikely(!afl->saved_crashes) &&
+          (afl->afl_env.afl_no_crash_readme != 1)) {
+
+        write_crash_readme(afl);
+
+      }
 
 #ifndef SIMPLE_FILES