diff options
author | van Hauser <vh@thc.org> | 2019-12-09 10:59:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-09 10:59:42 +0100 |
commit | aa95728c359dd3a551692fc0bd19df944619e97e (patch) | |
tree | 0b1050724ade464dd1b3ba501732321f79d93cce /src/afl-fuzz-bitmap.c | |
parent | b262c5478cf4f139eda6e14ea7d8e18d6e24265d (diff) | |
parent | ef43a4f82ed099b77acada1083a31c76958a18c8 (diff) | |
download | afl++-aa95728c359dd3a551692fc0bd19df944619e97e.tar.gz |
Merge pull request #131 from devnexen/ios_build_fix
IOS build fix.
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r-- | src/afl-fuzz-bitmap.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c index 0329421c..8f00611c 100644 --- a/src/afl-fuzz-bitmap.c +++ b/src/afl-fuzz-bitmap.c @@ -683,12 +683,16 @@ 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 + if (infoexec) { // if the user wants to be informed on new crashes - do +#if !TARGET_OS_IPHONE // that if (system(infoexec) == -1) hnb += 0; // we dont care if system errors, but we dont want a // compiler warning either +#else + WARNF("command execution unsupported"); +#endif + } last_crash_time = get_cur_time(); last_crash_execs = total_execs; |