diff options
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r-- | src/afl-fuzz-bitmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |