about summary refs log tree commit diff
path: root/users/fogti/store-ref-scanner/fuzz/fuzz_targets/nocrash.rs
blob: 48100a628d7a525e1c95ac19d5418620cc00277d (plain) (blame)
1
2
3
4
5
6
7
8
9
#![no_main]
use libfuzzer_sys::fuzz_target;

fuzz_target!(|data: &[u8]| {
    use store_ref_scanner::{StoreRefScanner, StoreSpec};

    StoreRefScanner::new(&data[..], &StoreSpec::DFL_NIX2).count();
    StoreRefScanner::new(&data[..], &StoreSpec::DFL_YZIX1).count();
});