lofty-rs/fuzz/fuzz_targets/flacfile_read_from.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

11 lines
252 B
Rust

#![no_main]
use std::io::Cursor;
use libfuzzer_sys::fuzz_target;
use lofty::config::ParseOptions;
use lofty::file::AudioFile;
fuzz_target!(|data: Vec<u8>| {
let _ = lofty::flac::FlacFile::read_from(&mut Cursor::new(data), ParseOptions::new());
});