-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugins feature breaks afl build? #434
Comments
Hi, @a1akris. Thanks very much for your note.
Do you have LLVM 16 installed on your system? If so, then you might try the following: rustup install nightly-2023-06-28 # A version that I happen to know uses LLVM 16.
cargo +nightly-2023-06-28 afl config --build --plugins If you're running a Debian-based system, you can find instructions for installing LLVM 17 here: https://apt.llvm.org/ I just tried those instructions, and they seemed to work.
I'm not sure that's right. LLVM is is only needed under certain circumstances. Building the plugins is one of those circumstances. Maybe that's why you haven't noticed before(?). Having said that, I am open to suggestions on how to make the process easier. |
Thank you for the quick response. You're right, I need to install LLVM on my own in order for the plugins feature to work. Additionally, on Arch Linux the current officially supported LLVM version is 16.0.6 so Also, I'm currently working on the fuzzing automation framework that setups everything for you and this LLVM dependency issue looks like a total disaster. I have no idea how to automate it either :) |
Good point. I just opened #435 to record this. Is there anything else that you think needs to be addressed in this issue? |
No, thank you for support, I'm closing the issue. |
I wanted to try out this change(#392) but it didn't work for me.
The command
cargo install [email protected] -F plugins --force
yields the following error:Looks like
llvm-config-17
is missing butllvm17
is not available even on Arch yet. Also, I believe thatcargo-afl
was handling llvm build deps automatically, I didn't bother with them while hoping from toolchain to toolchain before.Rustc version is:
rustc 1.76.0-nightly (21cce21d8 2023-12-11)
Without
-F plugins
the installation succeeds.The text was updated successfully, but these errors were encountered: