This commit is contained in:
Mateusz Gruszczyński committed 2026-11-22 14:21:54 +01:00
commit fa432bebda
189 files changed
+26219

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# Fuzzing
Requires nightly and `cargo install cargo-fuzz`.
```bash
cd fuzz
cargo +nightly fuzz run message # DNS wire parser + response encoder
cargo +nightly fuzz run zonefile # zone file parser incl. DNSSEC/RFC 3597 pre-processor
cargo +nightly fuzz run config # YAML/JSON configuration parser + validation
cargo +nightly fuzz run transfer # transfer message decoding
```
A stable-Rust robustness test (`crates/dns-server/tests/robustness.rs`) sends 30 000
random and mutated packets through the full query handler on every `cargo test` run.