d6b0aca7dd
Change-Id: Ib061154c2329432469e8f7bef4598402a56bd0c3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4606 Reviewed-by: zseri <zseri.devel@ytrizja.de> Tested-by: BuildkiteCI
10 lines
254 B
Rust
10 lines
254 B
Rust
#![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);
|
|
});
|