Skip to content

Coverage-guided fuzzing guide for C/C++ covering libFuzzer, AFL++, sanitizers, corpus management, and CI.

CCM score
58 of 100
skills.sh installs
761
GitHub stars
303
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers libFuzzer and AFL++ setup, from writing in-process fuzz targets to persistent-mode harnesses
  • Includes build commands with -fsanitize=fuzzer,address,undefined, corpus merging, afl-cmin minimisation, and crash reproduction
  • Enforces harness rules: no abort() or exit(), no persistent global state, and always return 0 from LLVMFuzzerTestOneInput
  • Designed for C/C++ teams adding fuzzing to CI or preparing OSS-Fuzz integration

Install

$ npx -y skills add mohitmishra786/low-level-dev-skills --skill fuzzing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Fuzzing

Purpose

Guide agents through setting up and running coverage-guided fuzz testing: libFuzzer (in-process) and AFL++ (fork-based), with sanitizer integration and CI pipeline setup.

Triggers

  • "How do I fuzz-test my parser/deserializer?"
  • "What is a fuzz target / how do I write one?"
  • "How do I set up libFuzzer?"
  • "How do I use AFL++ on my program?"
  • "How do I run fuzzing in CI?"
  • "Fuzzer found a crash — how do I reproduce it?"

Workflow

1. Write a fuzz target (libFuzzer)

A fuzz target is a function that accepts arbitrary bytes and exercises the code under test.

// fuzz_parser.c
#include <stdint.h>
#include <stddef.h>
#include "myparser.h"

// Entry point called by libFuzzer with random data
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
    // Must not abort/exit on invalid input (that's expected)
    // Must not read outside [data, data+size)

    MyParser *p = parser_create();
    if (p) {
        parser_feed(p, (const char *)data, size);
        parser_destroy(p);
    }
    return 0;  // Always return 0 (non-zero means discard input)
}

Key rules:

Details

Repository
github.com/mohitmishra786/low-level-dev-skills
Categories
Testing & QA, Security
First seen
Jun 3, 2026

Questions

What does the fuzzing skill help an agent do?

The fuzzing skill guides agents through coverage-guided fuzz testing in C and C++ with libFuzzer and AFL++, including writing fuzz targets around parsing or I/O boundaries. It also covers sanitizer integration, corpus management, and CI pipeline setup for finding input-driven bugs.

How do I install the fuzzing skill?

Run npx -y skills add mohitmishra786/low-level-dev-skills --skill fuzzing -y in your project to install it. Once installed, the agent can set up libFuzzer or AFL++ fuzz targets for your code.

Which skills does the fuzzing skill sit alongside in Testing & QA?

The fuzzing skill is listed in the Testing & QA category on Claude Marketplaces, next to tdd, migrate-to-shoehorn, test-driven-development, webapp-testing and break-ui. It differs from those by focusing on automated input-driven bug finding in C and C++ code rather than unit or UI tests.

More from mohitmishra786/low-level-dev-skills

All 54

Similar to Fuzzing

More Testing & QA