Skip to main content

harness-writing

harness-writing

Catalogue généré le 2026-05-11

En une phrase

Techniques for writing effective fuzzing harnesses across languages.

Quand l'utiliser

  • Use when creating new fuzz targets or improving existing harness code.

Comment l'invoquer

  • Slash command : /harness-writing (si exposé dans ton CLI)
  • Phrases déclencheurs : voir la description complète ci-dessous
  • Auto-invocation : sur demande explicite

Description complète

Techniques for writing effective fuzzing harnesses across languages. Use when creating new fuzz targets or improving existing harness code.

Pour aller plus loin

Writing Fuzzing Harnesses

A fuzzing harness is the entrypoint function that receives random data from the fuzzer and routes it to your system under test (SUT). The quality of your harness directly determines which code paths get exercised and whether critical bugs are found. A poorly written harness can miss entire subsystems or produce non-reproducible crashes.

Overview

The harness is the bridge between the fuzzer's random byte generation and your application's API. It must parse raw bytes into meaningful inputs, call target functions, and handle edge cases gracefully. The most important part of any fuzzing setup is the harness—if written poorly, critical parts of your application may not be covered.

Key Concepts

Concept Description
Harness Function that receives fuzzer input and calls target code under test
SUT System Under Test—the code being fuzzed

(extrait — voir le SKILL.md complet pour la suite)

Source

  • Plugin : trailofbits/testing-handbook-skills
  • Nom interne : harness-writing
  • Fichier : /home/thymon/.claude/plugins/cache/trailofbits/testing-handbook-skills/1.0.1/skills/harness-writing/SKILL.md