[repo] Fuzz: one libFuzzer target per parser, own workspace, Windows MSVC setup from Via
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
//! Fuzzes the RTP 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::rtp::parse_rtp_header(data);
|
||||
});
|
||||
Reference in New Issue
Block a user