afl 0.8.0

Fuzzing Rust code with american-fuzzy-lop failed to build afl-0.8.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure builds.
If you believe this is' fault, open an issue.
Visit the last successful build: afl-0.13.0

What is it?

Fuzz testing is a software testing technique used to find security and stability issues by providing pseudo-random data as input to the software. AFLplusplus is a popular, effective, and modern fuzz testing tool based on AFL. This library,, allows one to run AFLplusplus on code written in the Rust programming language.


Documentation can be found in the Rust Fuzz Book.

What does it look like?

Screen recording of AFL running on Rust code.

lazy_static variables

lazy_static variables present problems for AFL's persistent mode, which uses. Such variables can cause AFL to give incorrectly low stability reports, or fail to report timeouts, for example.

To address such problems, rust-fuzz provides a "resettable" version of lazy_static. To use it, make the following two changes to your target's Cargo.toml file.

  1. Add a [patch.crates-io] section and overide the lazy_static dependency with the rust-fuzz version:
    lazy_static = { git = "" }
  2. Enable the reset_lazy_staic feature on
    afl = { version = "0.6.0", features = ["reset_lazy_static"] }