lofty-rs/fuzz/fuzz_targets/opusfile_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
251 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::ogg::OpusFile::read_from(&mut Cursor::new(data), ParseOptions::new());
});