This repository has no description
Something went wrong. Try again.
fuzz: fix macOS AFL toolchain and linker setup for macOS 26.4 master
On macOS 26.4, AFL builds were picking up Nix compiler-wrapper variables and Apple SDK target settings from the shell environment. That caused afl-cc to drive the wrong linker and target configuration, which broke even simple fuzz harness builds. Unset the Nix compiler and linker environment in the fuzz dev shell so AFL++ uses the system or Homebrew Apple toolchain directly. Also force afl-cc to link with lld because the newer Apple linker asserts on the custom sections emitted by AFL's LLVM instrumentation. Finally, pin fuzz-libghostty to the host target so the build does not inherit stray SDK targets from the environment.
Author Mitchell Hashimoto Date (Apr 23, 2026, 4:06 PM UTC) Commit ae1dd566 ae1dd5666dbd024825a988a0d20efa3af22479a0 Parent b34c62bf b34c62bf043aeadfe60b4d84da61b62b2ba44d92 Change ID slrrkntw slrrkntwxmqrzxlxlpmtzmxzpytsuvmz