feat: allow to skip readme creation on crash

This commit is contained in:
Ruben ten Hove
2022-06-17 21:03:46 +02:00
parent 80892b8fc5
commit 3d1a57deed
5 changed files with 15 additions and 6 deletions

View File

@ -720,7 +720,7 @@ 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
@ -821,4 +821,3 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
return keeping;
}