From 20f009e927b8d98a595575e5d4366a437d6e7247 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Tue, 8 Oct 2019 11:53:31 +0200 Subject: added afl-fuzz -I cmdline option --- src/afl-fuzz-bitmap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/afl-fuzz-bitmap.c') diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c index d867a318..746fc982 100644 --- a/src/afl-fuzz-bitmap.c +++ b/src/afl-fuzz-bitmap.c @@ -683,6 +683,10 @@ u8 save_if_interesting(char** argv, void* mem, u32 len, u8 fault) { #endif /* ^!SIMPLE_FILES */ ++unique_crashes; + + if (infoexec) // if the user wants to be informed on new crashes - do that + if (system(infoexec) == -1) + hnb += 0; // we dont care if system errors, but we dont want a compiler warning either last_crash_time = get_cur_time(); last_crash_execs = total_execs; -- cgit 1.4.1