forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

probe.rs12 lines, 449 bytesHistoryRawDownload
1#![no_main]
2
3use libfuzzer_sys::fuzz_target;
4
5// The bounded header probes, over the whole input and over a reader. Neither may panic, and
6// neither may decode pixels, so no Limits are passed: a probe that allocated per declared
7// size would show up as an out-of-memory here rather than a wrong answer.
8fuzz_target!(|data: &[u8]| {
9 let _ = ec_image::probe(data);
10 let _ = ec_image::info(data);
11 let _ = ec_image::probe_reader(data);
12});