Files
DomiStream/fuzz/fuzz_targets/control_message.rs
T

12 lines
399 B
Rust

//! Fuzzes decrypted control messages from the host: never panics, whatever the bytes.
//! Phase A: the parser returns `Unimplemented`; QA adds the properties (round trips, caps) with the logic.
//! How to run: see the comment at the top of `fuzz/Cargo.toml`.
#![no_main]
use libfuzzer_sys::fuzz_target;
fuzz_target!(|data: &[u8]| {
let _ = domistream::control::parse_host_message(data);
});