forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

decode_file.rs11 lines, 274 bytesHistoryRawDownload
1#![no_main]
2
3use ec_flac::FlacReader;
4use libfuzzer_sys::fuzz_target;
5
6// The whole input is one .flac buffer: magic, metadata, then every frame.
7fuzz_target!(|data: &[u8]| {
8 if let Ok(mut reader) = FlacReader::new(data) {
9 let _ = reader.decode_all();
10 }
11});