diff options
author | Samuel E. Moelius III <samuel.moelius@trailofbits.com> | 2023-08-19 08:17:23 -0400 |
---|---|---|
committer | Samuel E. Moelius III <samuel.moelius@trailofbits.com> | 2023-08-19 08:17:23 -0400 |
commit | 53c26d086b94c4e5f31dddac0dd212cbff89e957 (patch) | |
tree | 12ec2945efd9e8b953b92cac26e4b01acf1039cc | |
parent | f596a297c4de6a5e1a6fb9fbb3b4e18124a24f58 (diff) | |
download | afl++-53c26d086b94c4e5f31dddac0dd212cbff89e957.tar.gz |
Loosen `ReportCrash` check
-rwxr-xr-x | afl-system-config | 2 | ||||
-rw-r--r-- | src/afl-fuzz-init.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/afl-system-config b/afl-system-config index b50bb06e..e3eb8527 100755 --- a/afl-system-config +++ b/afl-system-config @@ -110,7 +110,7 @@ if [ "$PLATFORM" = "Darwin" ] ; then sysctl kern.sysv.shmall=131072000 echo Settings applied. echo - if $(launchctl list 2>/dev/null | grep -q '\.ReportCrash$') ; then + if $(launchctl list 2>/dev/null | grep -q '\.ReportCrash\>') ; then echo echo Unloading the default crash reporter SL=/System/Library; PL=com.apple.ReportCrash diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 5a530821..4c09fab7 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -2270,7 +2270,7 @@ void check_crash_handling(void) { reporting the awful way. */ #if !TARGET_OS_IPHONE - if (system("launchctl list 2>/dev/null | grep -q '\\.ReportCrash$'")) return; + if (system("launchctl list 2>/dev/null | grep -q '\\.ReportCrash\\>'")) return; SAYF( "\n" cLRD "[-] " cRST |