Skip to content
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

Update AFL to 0.4 #1

Merged
merged 4 commits into from
Oct 19, 2018
Merged

Update AFL to 0.4 #1

merged 4 commits into from
Oct 19, 2018

Conversation

Aaron1011
Copy link
Collaborator

This PR updates the afl crate to version 0,4, which allows us to take advantage of the fuzz!() macro. This macro enables AFL persistent mode, which yielded an almost 10x speed increase on my machine (~3k executions per second -> ~30k executions per second).

I've almost added Cargo.lock to the repository, since roughenough-fuzz is a binary (as opposed to a library).

To prevent cargo afl build from trying to compile the honggfuzz target, I've added an explicit afl_target binary to Cargo.toml. The README has been updated accordingly.

@Aaron1011
Copy link
Collaborator Author

Note: Currently, any fuzzers using the LLVM sancov pass will not work on nightly Rust. This is a known issue: rust-lang/rust#53945, and is independent of the version of afl.rs in use.

@int08h int08h merged commit fe2e1a6 into int08h:master Oct 19, 2018
@frewsxcv
Copy link

Note: Currently, any fuzzers using the LLVM sancov pass will not work on nightly Rust. This is a known issue: rust-lang/rust#53945, and is independent of the version of afl.rs in use.

a temporary workaround was pushed to afl.rs regarding this: rust-fuzz/afl.rs#144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants