rust/crates/syntax/fuzz/fuzz_targets/reparse.rs
2020-08-12 18:30:53 +02:00

12 lines
227 B
Rust

//! FIXME: write short doc here
#![no_main]
use libfuzzer_sys::fuzz_target;
use syntax::fuzz::CheckReparse;
fuzz_target!(|data: &[u8]| {
if let Some(check) = CheckReparse::from_data(data) {
check.run();
}
});