Open 0xalpharush opened 1 month ago
Hi, @0xalpharush. Plugins are currently only supported on Linux (though this needs to be better documented).
We don't test the plugins on macOS in CI for this reason: https://github.com/rust-fuzz/afl.rs/blob/4e02a9721fc33c02d5551eed45160c592fb63fb7/.github/workflows/rust.yml#L37-L39
I hope this hasn't caused you to lose too much time.
I ran
cargo +nightly afl config --build --plugins
successfully in order to use AFL++'s instrumentation passes. When I runcargo afl build
, I get the following error:There is a similarly named symbol in the share library:
I'm not sure how to resolve this... Maybe I need to install a specific rustc/llvm/afl-rs for them to cooperate? Any help is greatly appreciated!
If I try to build with LLVM 18.1.8 I get:
called `Result::unwrap()` on an `Err` value: llvm-config --version output does not contain expected major version (19)
Fwiw, here's where the name appears in the AFLPlusPlus codebase https://github.com/search?q=repo%3AAFLplusplus%2FAFLplusplus+PreservedAnalyses&type=code
Other background that may be useful: