[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:
@@ -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
|
||||
Reference in New Issue
Block a user