blahaj/fuzz/fuzz_targets/deserialize_share.rs

9 lines
165 B
Rust

#![no_main]
use core::convert::TryFrom;
use libfuzzer_sys::fuzz_target;
use sharks::Share;
fuzz_target!(|data: &[u8]| {
let _share = Share::try_from(data);
});