[repo] Fuzz: one libFuzzer target per parser, own workspace, Windows MSVC setup from Via

This commit is contained in:
2026-11-25 12:01:09 +01:00
parent 31d1fc3655
commit 3ade60d0b4
21 changed files with 1006 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
//! Fuzzes SDP payloads and the host capabilities read from them: 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]| {
if let Ok(sdp) = domistream::rtsp::sdp::parse_sdp(data) {
let _ = domistream::rtsp::HostCapabilities::from_sdp(&sdp);
}
});