blob: 4667d5579fe7a5b32ef7bfbc64f06f21720e6b78 (
plain)
1
2
3
4
5
6
7
8
9
|
#![no_main]
#[macro_use] extern crate libfuzzer_sys;
extern crate ra_syntax;
fuzz_target!(|data: &[u8]| {
if let Ok(text) = std::str::from_utf8(data) {
ra_syntax::check_fuzz_invariants(text)
}
});
|