cargo-fuzz

Official

Fuzz Rust projects with cargo-fuzz & libFuzzer.

AuthorSuperlend
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fuzz testing is essential for Rust projects to uncover security and reliability issues early. cargo-fuzz simplifies this by integrating libFuzzer with Cargo, automating build flags, harness setup, and test execution.

Core Features & Use Cases

  • Integrated fuzzing workflow: cargo-fuzz provides a Cargo-based interface to run fuzz targets with libFuzzer.
  • Harness and corpus management: Create and organize fuzz targets and seed corpora under fuzz/corpus.
  • Sanitizer and coverage support: Supports AddressSanitizer and coverage tooling for robust diagnostics.
  • Use cases: Use cargo-fuzz to harden libraries, validators, parsers, and protocols by discovering edge-case inputs.

Quick Start

Install nightly Rust toolchain, install cargo-fuzz, initialize fuzzing with cargo fuzz init, create a fuzz target under fuzz/fuzz_targets, and run fuzz with cargo +nightly fuzz run <target>.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cargo-fuzz
Download link: https://github.com/Superlend/superloop-core-contracts/archive/main.zip#cargo-fuzz

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.