Files
DomiStream/fuzz/fuzz_targets/control_frame.rs
T

12 lines
401 B
Rust

//! Fuzzes encrypted control frames (outer fields): 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_encrypted_frame(data);
});