mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-13 22:22:31 +00:00
103387fa26
None of the fuzz targets have been touched in awhile, so they haven't been compiling for most of the year probably.
11 lines
250 B
Rust
11 lines
250 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::mp4::Mp4File::read_from(&mut Cursor::new(data), ParseOptions::new());
|
|
});
|