From 6e026606f368d8d1139b266c382076685e76d0b2 Mon Sep 17 00:00:00 2001 From: brunoerg Date: Mon, 31 Mar 2025 10:57:14 -0300 Subject: [PATCH] fuzz: doc: add info about `afl-system-config` for macOS --- doc/fuzzing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/fuzzing.md b/doc/fuzzing.md index 816eee53f90..e06236c93d0 100644 --- a/doc/fuzzing.md +++ b/doc/fuzzing.md @@ -187,6 +187,8 @@ $ cmake -B build_fuzz \ $ cmake --build build_fuzz # For macOS you may need to ignore x86 compilation checks when running "cmake --build". If so, # try compiling using: AFL_NO_X86=1 cmake --build build_fuzz +# Also, it might be required to run "afl-system-config" to adjust the shared +# memory parameters. $ mkdir -p inputs/ outputs/ $ echo A > inputs/thin-air-input $ FUZZ=bech32 ./AFLplusplus/afl-fuzz -i inputs/ -o outputs/ -- build_fuzz/bin/fuzz