mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
Loosen ReportCrash
check
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user