-
Notifications
You must be signed in to change notification settings - Fork 107
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
AFL++'s LLVM plugins are not built by default #450
Comments
I'm fairly new to both rust and AFL++ and a little lost about the work around here. For context I arrived here while investigating why my fuzzing campaign seemed to stall pretty early on. I can see that we're taking this branch on my code: Lines 272 to 280 in 08d63a6
And I don't seem to have e.g. cmplog-instructions-pass.so anywhere in my home directory.
What do I need to do or change to get CMPLOG support? I am on:
Thanks for all your work on this project! |
Oh and I ran |
It is ‘cargo afl config —plugins --force’ Also #451 |
ah thanks! so ...
then
The logic here seems to assume rust's llvm is in my path? That's not the case for me (I happen to have llvm-14 installed currently) |
I guess that's just on me to install and keep up to date; I don't see |
You need to install the llvm-tools component with rustup and install llvm 17 (eg apt.llvm.org) |
installing llvm-17 on my system was sufficient, then after running |
Renaming this issue to just "AFL++'s LLVM plugins are not built by default". The check should be fixed by #498. Re building the plugins by default, I would prefer to wait until Rust's plugin support is stabilized (e.g., rust-lang/rust#127577). |
@smoelius currently, it's a bit ambiguous if AFL++'s passes are used. What do you think about introducing a |
Sorry if it should be obvious, but could you explain what this option would do? |
I think this is not a good env var though, because AFL_ should be reserved to AFL++'s envs. this is specifically for afl.rs so maybe AFLRS_FORCE_PASS? |
There are two scenarios:
I'm referring to the first. Like this, it would: a) error if AFL++'s plugins were not built (and won't implicitly use the It is easy to forget |
I think the behavior sounds fine. I'm just not 100% sure on the name. Maybe
Or have I misunderstood something? |
@vanhauser-thc wrote in #449:
The text was updated successfully, but these errors were encountered: