added afl-fuzz -I cmdline option

This commit is contained in:
van Hauser
2019-10-08 11:53:31 +02:00
parent 45bb85cd8f
commit 20f009e927
6 changed files with 17 additions and 3 deletions

View File

@ -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;