Skip to main content

Module fuzz

Module fuzz 

Source
Expand description

Fuzz generators — the shared mutation catalog behind the .klr mutate construct and the killer fuzz command.

A generator is a named family of adversarial inputs (boundary numbers, injection payloads, oversized strings, …). The .klr runner expands mutate <field> { <generator> } clauses through generate, and killer fuzz surfaces the same catalog directly so inputs can be previewed or fired at a live target without writing a .klr file first.

This is deliberately the single source of fuzz values: crate::klr::runner calls generate rather than keeping its own table, so the two never drift.

Structs§

FuzzHit
One fired fuzz input and its outcome.
FuzzOptions
What to fuzz and where.
FuzzReport
The result of a killer fuzz run.
Generator
One entry in the fuzz-generator catalog.
GeneratorPreview
The values produced by one generator, for the preview section.

Enums§

HitOutcome
How the target responded to one fuzz input.

Functions§

catalog
The full generator catalog.
category_of
The category label for a generator name, or "custom" if it is not in the catalog (an arbitrary literal passed through by generate).
generate
The concrete values a fuzz generator produces.
lookup
Look up a generator’s catalog metadata by name or alias.
run
Generate inputs for every requested generator and, if a target is set, fire each one and record how the server responded.