Skip to main content

max / makenotwork

601 B · 14 lines History Blame Raw
1 # Seed corpora
2
3 Human intent: the shapes a fuzzer should reach on its first pass rather than
4 rediscover. `html/` feeds `oracle::check_html`, `css/` feeds
5 `oracle::check_css`.
6
7 Every one of these is replayed by `tests/regressions.rs` as an ordinary
8 `cargo test`, so a seed that starts violating the contract fails on a
9 developer's machine and not only on the soak box.
10
11 Add a seed when a shape is worth reaching and none of the existing files gets
12 there. Add to `../regressions/` instead when an input once found a bug: that
13 directory is the permanent record, and nothing there should ever be deleted.
14