lofty-rs/fuzz/fuzz_targets/picture_from_flac_bytes.rs
Serial 103387fa26 Fuzz: Make all targets build again
None of the fuzz targets have been touched in awhile, so they haven't been compiling for most of the year probably.
2024-08-31 00:01:00 -04:00

9 lines
282 B
Rust

#![no_main]
use libfuzzer_sys::fuzz_target;
use lofty::config::ParsingMode;
fuzz_target!(|data: &[u8]| {
let _ = lofty::picture::Picture::from_flac_bytes(data, true, ParsingMode::Relaxed);
let _ = lofty::picture::Picture::from_flac_bytes(data, false, ParsingMode::Relaxed);
});