blob: f80e130021d4672f6e0cb7286ff54ee950b6bd80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//! Fuzzing for from-scratch parsing.
#![no_main]
use libfuzzer_sys::fuzz_target;
use syntax::fuzz::check_parser;
fuzz_target!(|data: &[u8]| {
if let Ok(text) = std::str::from_utf8(data) {
check_parser(text)
}
});
|