[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 e082570a3f
commit db56a5dbb1
3 changed files with 292 additions and 0 deletions
+17
View File
@@ -219,6 +219,13 @@ test = false
doc = false
bench = false
[[bin]]
name = "enet_host"
path = "fuzz_targets/enet_host.rs"
test = false
doc = false
bench = false
[[bin]]
name = "rtsp_server"
path = "fuzz_targets/rtsp_server.rs"
@@ -232,3 +239,13 @@ path = "fuzz_targets/announce.rs"
test = false
doc = false
bench = false
test = false
doc = false
bench = false
[[bin]]
name = "control_host"
path = "fuzz_targets/control_host.rs"
test = false
doc = false
bench = false