john-slop/fuzz
Dandaedre 4a0c7c9920
Rust CI JohnSlop failed CI.
Gitea/john_slop/pipeline/head There was a failure building this commit Details
chore: release milestone 26
2026-09-30 02:34:23 +02:00
..
corpus test: add fuzz harnesses and regression seeds 2026-09-29 17:33:22 +02:00
fuzz_targets test: add fuzz harnesses and regression seeds 2026-09-29 17:33:22 +02:00
Cargo.lock chore: release milestone 26 2026-09-30 02:34:23 +02:00
Cargo.toml build: make lsp dependency graph optional 2026-09-29 21:24:11 +02:00
README.md test: add fuzz harnesses and regression seeds 2026-09-29 17:33:22 +02:00

README.md

Fuzzing

The five harnesses exercise configuration layering, complete rule loading, UTF-8-to-UTF-16 span conversion, replacement planning/application, and hostile ZIP bytes under deliberately small resource limits.

Install cargo-fuzz and run one target from the repository root:

cargo install cargo-fuzz --locked
cargo fuzz run config-merge
cargo fuzz run rule-loading
cargo fuzz run utf8-span-mapping
cargo fuzz run replacement-planning
cargo fuzz run archive-metadata

Checked-in seeds cover a valid partial override, a complete rule catalog, multibyte/CRLF text, overlapping replacement opportunities, and malformed ZIP metadata. Crashes and minimized artifacts are local build output and must not be committed until converted into a reviewed regression test.