{"repo":"rust-fuzz/cargo-fuzz","free":true,"listed":false,"github":"https://github.com/rust-fuzz/cargo-fuzz","clone":"git clone https://github.com/rust-fuzz/cargo-fuzz.git","description":"Command line helpers for fuzzing","language":"Rust","stars":1882,"topics":["fuzz-testing","fuzzing","cargo","rust"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"cargo fuzz A cargo subcommand for fuzzing with libFuzzer ! Easy to use! Installation Note: libFuzzer needs LLVM sanitizer support, so this only works on x86-64 and Aarch64, and only on Unix-like operating systems (not Windows). This also needs a nightly compiler since it uses some unstable command-line flags. You'll also need a C++ compiler with C++11 support. Usage cargo fuzz init Initialize a cargo fuzz project for your crate! If your crate uses cargo workspaces, add fuzz directory to workspace.members in root Cargo.toml fuzz directory can be either a part of an existing workspace (default) or use an independent workspace. If latter is desired, you can use cargo fuzz init --fuzzing-workspace=true . cargo fuzz add Create a new fuzzing target! cargo fuzz run Run a fuzzing target and find bugs! cargo fuzz fmt Print the std::fmt::Debug output for a test case. Useful when your fuzz target takes an Arbitrary input! cargo fuzz tmin Found a failing input? Minify it to the smallest input that causes that failure for easier debugging! cargo fuzz cmin Minify your corpus of input files! cargo fuzz coverage Generate coverage information on the fuzzed program! Documentation Documentation can be found in the Rust Fuzz Book. You can also always find the full command-line options that are available with --help : Trophy case The trophy case has a list of bugs found by cargo fuzz (and others). Did cargo fuzz and libFuzzer find a bug for you? Add it to the trophy case! License cargo-fuzz is di","default_branch":null,"files":null,"tree":[],"storefront":"/r/rust-fuzz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rust-fuzz/cargo-fuzz/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}