Files
DomiStream/fuzz/fuzz_targets/audio_packet.rs
T

12 lines
370 B
Rust

//! Fuzzes audio packets: 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::audio::parse_audio_packet(data);
});