Command-line wrapper for using libFuzzer
. Easy to use, no need to recompile LLVM!
Note: libFuzzer
needs LLVM sanitizer support, so this is only works on x86-64 Linux and x86-64 macOS for now. This also needs a nightly since it uses some unstable command-line flags. You'll also need a C++ compiler with C++11 support.
This crate is currently under some churn -- in case stuff isn't working, please reinstall it (cargo install cargo-fuzz -f
). Rerunning cargo fuzz init
after moving your fuzz
folder and updating this crate may get you a better generated fuzz/Cargo.toml
. Expect this to settle down soon.
$ cargo install cargo-fuzz
Documentation can be found in the Rust Fuzz Book.
The trophy case has moved to a separate dedicated repository:
https://github.com/rust-fuzz/trophy-case
cargo-fuzz is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.