After the recent adjustment to fuzzing docs in #31954, most of the tests started working on macOS again.
A few of them are still failing for weird reasons, let’s document how to work around those:
- https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow#false-positives
- https://github.com/bitcoin/bitcoin/blob/master/CMakePresets.json#L50-L60
Since libfuzzer-nosan
builds to a different folder, I’ve added the full build steps after configuration.
I’ve also deleted the brew install llvm
duplication, fixed a typo (non-systems clang
), and adjusted the fuzzer link for mac in Quickstart guide