rust-analyzer/crates/ra_syntax/fuzz/fuzz_targets/reparse.rs
2019-09-30 11:58:53 +03:00

11 lines
230 B
Rust

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