|0.11.0||Sep 27, 2021|
|0.10.2||May 13, 2021|
|0.10.1||Apr 19, 2021|
|0.10.0||Mar 10, 2021|
|0.4.0||Mar 30, 2017|
#32 in Testing
8,321 downloads per month
Used in lol_html
cargo subcommand for fuzzing with
libFuzzer! Easy to use!
$ cargo install cargo-fuzz
libFuzzer needs LLVM sanitizer support, so this only works on x86-64
Linux and x86-64 macOS for now. This also needs a nightly Rust toolchain since
it uses some unstable command-line flags. Finally, you'll also need a C++
compiler with C++11 support.
If you have an old version of
cargo fuzz, you can upgrade with this command:
$ cargo install -f cargo-fuzz
cargo fuzz project for your crate!
Create a new fuzzing target!
Run a fuzzing target and find bugs!
std::fmt::Debug output for a test case. Useful when your fuzz target
Found a failing input? Minify it to the smallest input that causes that failure for easier debugging!
Minify your corpus of input files!
Generate coverage information on the fuzzed program!
Documentation can be found in the Rust Fuzz Book.
You can also always find the full command-line options that are available with
$ cargo fuzz --help
The trophy case has a list of bugs
cargo fuzz (and others). Did
cargo fuzz and libFuzzer find a bug
for you? Add it to the trophy case!
cargo-fuzz is distributed under the terms of both the MIT license and the
Apache License (Version 2.0).