Malformed-input campaigns; fix to the spec, not the seed.

Fuzz campaigns (+ auto-coverage)

Intent — Campaigns that feed malformed and adversarial inputs to the tool to find crashes and corruption, with coverage collected automatically, plus an RCA discipline that fixes to the spec, not the failing seed.

SummaryMalformed-input campaigns; fix to the spec, not the seed.
TargetProduct · Regression tests
Formregression
EnforcementHard (deterministic) — a repeatable campaign body; coverage tracked against a baseline

Motivation — the failure it kills

Real-world documents are malformed in ways no hand-written test anticipates: a truncated stream, an odd encoding, a structure right at the edge of what the spec allows. A fuzzer finds the crash or corruption on inputs you would never think to write. The failure is crashes / corruption on adversarial or spec-edge inputs, and it hides across an input space far too large to enumerate.

Why it's not just "property tests" (or "more example inputs")

Property tests check invariants over structured, generated inputs; fuzzing throws malformed, adversarial bytes to find crashes and spec-edge failures the structured generators don't reach. And the payoff is multiplied by an RCA discipline: fix to the stable point in the format spec, not to the failing seed, so the fix passes every spec-allowed input, not just the one that crashed. Structured generation is a good tool, and it does find bugs, until the corruption lives in bytes no generator would produce. Adversarial campaigns reach that space, and fixing to the spec closes the whole class the seed exposed rather than the one seed. Auto-coverage tracks what the campaign actually reached so gains are measurable, not assumed.

Mechanism

*Fuzz* / *Campaign* harnesses run the tool against generated malformed inputs. The test-serializer auto-appends coverage collection when the filter contains Fuzz/Campaign, aggregated against a baseline. On a finding, the RCA discipline mandates RCA to the stable spec point rather than patching the seed.

Prerequisites

Consequences & costs

Known uses

Related mechanisms