diff --git a/scripts/afl-persistent-config b/scripts/afl-persistent-config index a6b05e0759..5a9f5e31f8 100755 --- a/scripts/afl-persistent-config +++ b/scripts/afl-persistent-config @@ -68,10 +68,10 @@ if [[ "$PLATFORM" = "Darwin" ]] ; then /usr/sbin/sysctl -w - kern.sysv.shmmax=268435456 + kern.sysv.shmmax=524288000 kern.sysv.shmmni=128 kern.sysv.shmseg=32 - kern.sysv.shmall=65536 + kern.sysv.shmall=131072000 KeepAlive diff --git a/scripts/shmem_limits_macos.sh b/scripts/shmem_limits_macos.sh index eed4c9bfe3..70cf8f46d8 100755 --- a/scripts/shmem_limits_macos.sh +++ b/scripts/shmem_limits_macos.sh @@ -1,10 +1,10 @@ #!/bin/sh -echo "Warning: this script is not a proper fix to do LLMP fuzzing. " \ +echo "Warning: this script is not a proper fix to do LLMP fuzzing." \ "Instead, run `afl-persistent-config` with SIP disabled." -sudo sysctl -w kern.sysv.shmmax=268435456 +sudo sysctl -w kern.sysv.shmmax=524288000 sudo sysctl -w kern.sysv.shmmin=1 sudo sysctl -w kern.sysv.shmseg=32 -sudo sysctl -w kern.sysv.shmall=65536 +sudo sysctl -w kern.sysv.shmall=131072000 sudo sysctl -w kern.maxprocperuid=512