rust-analyzer/crates/ra_syntax/fuzz/fuzz_targets/reparse.rs

10 lines
197 B
Rust
Raw Normal View History

2019-03-21 17:06:48 +00:00
#![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();
}
});