10 lines
196 B
Rust
Raw Normal View History

#![no_main]
2019-03-22 02:05:12 +09:00
use libfuzzer_sys::fuzz_target;
use ra_syntax::fuzz::check_parser;
fuzz_target!(|data: &[u8]| {
if let Ok(text) = std::str::from_utf8(data) {
2019-03-22 02:05:12 +09:00
check_parser(text)
}
});