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