aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/fuzz/fuzz_targets/reparse.rs
blob: 5ac99fdafdfe1300f449a70422820e2b22adc2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
//! FIXME: write short doc here

#![no_main]
use libfuzzer_sys::fuzz_target;
use syntax::fuzz::CheckReparse;

fuzz_target!(|data: &[u8]| {
    if let Some(check) = CheckReparse::from_data(data) {
        check.run();
    }
});