afl-system-config
adjusts the shared memory segment size limits and configures kernel parameters for better fuzzing performance. Since macOS has more conservative values on shared memory, it’s necessary to run afl-system-config
, or manually adjust the values to fuzz with AFL++.
e.g.:
0kern.sysv.shmmax: 524288000
1kern.sysv.shmmin: 1
2kern.sysv.shmseg: 48
3kern.sysv.shmall: 131072000