aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/fuzz/fuzz_targets/reparse.rs
blob: 45524d4c123accedb2e5644d25242625b9a0a986 (plain)
1
2
3
4
5
6
7
8
9
#![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();
    }
});