Files
photocraft/book/src/development/fuzzing.md
T
1fe689a7bf docs: add mdBook and security documentation foundation (#35)
* docs: add mdBook and security documentation foundation

* docs: point book links at storytold/photocraft; scope the credits entry

The book's repository/edit URLs and source links pointed at the contributor's
fork. The credits entry now describes what this PR contributed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Brandon Thomas <echelon@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 12:31:18 -04:00

827 B

Fuzzing

Fuzzing procedures, current targets, security properties, and corpus rules are maintained in Fuzzing and regression testing.

The existing fuzz workspaces are intentionally separate from the main Cargo workspace because cargo-fuzz uses nightly Rust and sanitizer instrumentation. Example:

rustup toolchain install nightly
cargo install cargo-fuzz --locked
cd crates/codecs
cargo +nightly fuzz run decode_any

Reproduce a crash, minimize it, add a deterministic regression test, and then fix it. A time-limited fuzz run with no findings is evidence of that run only; it is not proof that a parser is secure.

The main GitHub Actions workflow currently runs fuzzing only when manually dispatched with the fuzz input. Scheduled or hosted continuous fuzzing remains future work.