[fuzz] enet_host and control_host targets

enet_host: accept on the first datagram or a canned connect (optionally acknowledged), then datagrams, some with our header; asserts outgoing datagrams parse within the MTU and deliveries stay under the cap. control_host: a connected ControlHost fed sealed arbitrary plaintexts, replayed sequence numbers, arbitrary frames in valid commands and raw datagrams; asserts parse_client_message invariants and that no message appears without a sealed frame. 60 s each, 0 crashes.
This commit is contained in:
2026-12-04 12:33:51 +01:00
parent e7192a68a8
commit 1e925578b7
3 changed files with 289 additions and 0 deletions
+14
View File
@@ -211,3 +211,17 @@ path = "fuzz_targets/rtsp_client.rs"
test = false
doc = false
bench = false
[[bin]]
name = "enet_host"
path = "fuzz_targets/enet_host.rs"
test = false
doc = false
bench = false
[[bin]]
name = "control_host"
path = "fuzz_targets/control_host.rs"
test = false
doc = false
bench = false