diff options
author | David Carlier <devnexen@gmail.com> | 2019-12-06 18:43:15 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2019-12-06 18:43:15 +0000 |
commit | ef43a4f82ed099b77acada1083a31c76958a18c8 (patch) | |
tree | 91c21a1a13f59f2674da55181416f9ea30148917 /src/afl-fuzz-init.c | |
parent | 8bc0b646f0f6ede198e1e25d3c6e721b113d6865 (diff) | |
download | afl++-ef43a4f82ed099b77acada1083a31c76958a18c8.tar.gz |
IOS build fix.
system call is disabled on this platform.
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 bdab41e7..d63c7377 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"); |