forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

parse_header.rs14 lines, 389 bytesHistoryRawDownload
1#![no_main]
2
3use ec_ac3::{bsi, eac3, syncinfo};
4use libfuzzer_sys::fuzz_target;
5
6// Header-only paths: syncinfo + BSI for AC-3, and the E-AC-3 BSI, plus the frame-length probe.
7fuzz_target!(|data: &[u8]| {
8 let _ = syncinfo::parse(data);
9 if data.len() > 5 {
10 let _ = bsi::parse(&data[5..]);
11 }
12 let _ = eac3::bsi::parse(data);
13 let _ = ec_ac3::frame_size(data);
14});