about summary refs log blame commit diff
path: root/users/zseri/store-ref-scanner/fuzz/fuzz_targets/hbm-roundtrip.rs
blob: 9e21a7738a3829b834a681c1ee7a4413a12699b2 (plain) (tree)
1
2
3
4
5
6
7
8
9


                               
                               
                                         



                                            
   
#![no_main]
use libfuzzer_sys::fuzz_target;

fuzz_target!(|data: [u8; 16]| {
    use store_ref_scanner::HalfBytesMask;
    let a = HalfBytesMask(data);
    let b = a.into_expanded();
    let c = HalfBytesMask::from_expanded(b);
    assert_eq!(a, c);
});