13 lines
456 B
Rust
13 lines
456 B
Rust
//! Fuzzes video packets and the frame header: 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::video::parse_video_packet(data);
|
|
let _ = domistream::video::packet::parse_frame_header(data);
|
|
});
|