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-init.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-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index f3ade9a0..2c2565e4 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -1426,6 +1426,7 @@ void check_crash_handling(void) { until I get a box to test the code. So, for now, we check for crash reporting the awful way. */ +#if !TARGET_OS_IPHONE if (system("launchctl list 2>/dev/null | grep -q '\\.ReportCrash$'")) return; SAYF( @@ -1443,6 +1444,7 @@ void check_crash_handling(void) { " launchctl unload -w ${SL}/LaunchAgents/${PL}.plist\n" " sudo launchctl unload -w ${SL}/LaunchDaemons/${PL}.Root.plist\n"); +#endif if (!getenv("AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES")) FATAL("Crash reporter detected"); |