-
Notifications
You must be signed in to change notification settings - Fork 109
separate binary and lib or their deps #130
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
Comments
which dependencies are you referring to? some of them get used in the |
We are fuzzing something also depending on clap, but a completely different version. Since the fuzz target does not need clap we cloned afl.rs, removed everything cargo-afl related, built our fuzz-target, and ran it with cargo afl from crates.io. |
Relevant cargo issue rust-lang/cargo#1982 |
For what it's worth, you don't need to add 'afl' as a dependency in your cargo.toml. you should be able to just copy and paste these functions into your fuzz target |
depending on a local, purged clone of afl.rs also works like a charm, we just wanted to let you know |
I think issue #335 was a duplicate of this one, and that issue is now closed. Feel free to reopen if I have made a mistake. |
Right now it is cumbersome to fuzz libs that depend on afl.rs' dependencies, because they may require different versions.
Since the lib only offers two functions and uses nothing of the dependencies (?), I think we don't need them to be included in fuzz targets.
The text was updated successfully, but these errors were encountered: