cargo-fuzz
Input—per 1M tokens
Output—per 1M tokens
Context—tokens
WeightsClosed
About
cargo-fuzz is ranked #2 of 27 in fuzz testing software on Inferse. It runs on Linux, macOS, Windows. There is a free plan.
Compared on fuzz testing software
- Input generation methods
- mutation, generation, hybridgithub.com
- Target types
- raw byte buffers, structured Rust data, libraries, APIs, compiler code, allocator operationsgithub.com
- Coverage guidance
- Yesgithub.com
- Crash triage
- Yesgithub.com
- Execution mode
- localgithub.com
- Supported languages
- Rustgithub.com
- CI/CD support
- Yesgithub.com
Facts
- Purpose
- cargo-fuzz is a cargo subcommand for fuzzing with libFuzzer.github.com · 1 Oct 2026
- Recommended use
- The Rust Fuzz Book calls cargo-fuzz the recommended tool for fuzz testing Rust code.rust-fuzz.github.io · 1 Oct 2026
- Fuzzer support
- cargo-fuzz invokes a fuzzer rather than being a fuzzer itself, and currently supports libFuzzer through the libfuzzer-sys crate.rust-fuzz.github.io · 1 Oct 2026
- Installation
- The documented installation command is `cargo install cargo-fuzz`.rust-fuzz.github.io · 1 Oct 2026
- Compiler requirement
- The project requires the nightly Rust compiler because it uses the `-Z` compiler flag for address sanitization.rust-fuzz.github.io · 1 Oct 2026
- Build requirement
- A C++ compiler with C++11 support is required.rust-fuzz.github.io · 1 Oct 2026
- Supported systems
- The setup documentation lists x86-64 Linux, x86-64 macOS, Apple-Silicon macOS, and Windows with LLVM sanitizer support.rust-fuzz.github.io · 1 Oct 2026
- Project setup
- `cargo fuzz init` creates fuzzing files for a crate, and `cargo fuzz add <target>` creates a new fuzzing target.github.com · 1 Oct 2026
- Fuzz execution
- `cargo fuzz run <target>` runs a fuzzing target to find bugs.github.com · 1 Oct 2026
- Input minimization
- The tool provides `cargo fuzz tmin` to minimize a failing input and `cargo fuzz cmin` to minimize a corpus of input files.github.com · 1 Oct 2026
- Coverage
- `cargo fuzz coverage` generates source-based code coverage information and requires cargo-fuzz version 0.10.0 or newer.rust-fuzz.github.io · 1 Oct 2026
- CI integration
- The documentation provides a GitHub Actions workflow that installs cargo-fuzz, builds targets, runs them for a configured time, and uploads artifacts on failure.rust-fuzz.github.io · 1 Oct 2026
- Windows integration
- cargo-fuzz can fuzz Windows programs using MSVC AddressSanitizer.rust-fuzz.github.io · 1 Oct 2026
- Licensing
- cargo-fuzz is distributed under both the MIT license and Apache License Version 2.0.github.com · 1 Oct 2026
- Package metadata
- The Cargo package is version 0.13.2 and lists its authors as The rust-fuzz Project Developers.github.com · 1 Oct 2026
- Platforms
- The setup documentation lists x86-64 Linux, x86-64 macOS, Apple-Silicon macOS, and Windows support.rust-fuzz.github.io · 2 Oct 2026
- Fuzz targets
- cargo fuzz add creates a new fuzzing target and cargo fuzz run runs a fuzzing target to find bugs.github.com · 2 Oct 2026
- Corpus minimization
- cargo fuzz tmin minimizes a failing input and cargo fuzz cmin minimizes a corpus of input files.github.com · 2 Oct 2026
- Structured fuzzing
- The documentation supports structure-aware fuzzing through the fuzz_mutator! macro and the Arbitrary trait.rust-fuzz.github.io · 2 Oct 2026
- Configuration
- Fuzz targets can use Cargo feature options including --features, --no-default-features, and --all-features.rust-fuzz.github.io · 2 Oct 2026
- Security status
- GitHub reports that the repository has no security policy detected and no published security advisories.github.com · 2 Oct 2026
Best cargo-fuzz alternatives
See all 12
7.3 Mayhem $236/mo first paid tier Free plan
6.0 ClusterFuzz Free free plan, no paid price published Free plan
6.0 Fuzzilli Free free plan, no paid price published Free plan
5.9 Accessibility Test Framework for Android Free free plan, no paid price published Free plan
5.9 AFL++ €1666.67/mo first paid tier Free plan
5.9 Jazzer Free free plan, no paid price published Free plan Where it ranks on Inferse
Sources
- github.com/rust-fuzz/cargo-fuzz· checked 1 Oct 2026
- rust-fuzz.github.io/book/cargo-fuzz.html· checked 1 Oct 2026
- rust-fuzz.github.io/book/cargo-fuzz/setup.html· checked 1 Oct 2026
- rust-fuzz.github.io/book/cargo-fuzz/coverage.html· checked 1 Oct 2026
- rust-fuzz.github.io/book/cargo-fuzz/ci.html· checked 1 Oct 2026
- rust-fuzz.github.io/book/cargo-fuzz/windows.html· checked 1 Oct 2026
- github.com/rust-fuzz/cargo-fuzz/blob/main/Cargo.to· checked 1 Oct 2026
- rust-fuzz.github.io/book/cargo-fuzz/structure-aware-fuzzing· checked 2 Oct 2026
- rust-fuzz.github.io/book/cargo-fuzz/guide.html· checked 2 Oct 2026
- github.com/rust-fuzz/cargo-fuzz/security· checked 2 Oct 2026

