blahaj/fuzz/fuzz_targets/deserialize_share.rs

9 lines
165 B
Rust
Raw Permalink Normal View History

2020-04-21 18:16:48 +00:00
#![no_main]
use core::convert::TryFrom;
use libfuzzer_sys::fuzz_target;
use sharks::Share;
fuzz_target!(|data: &[u8]| {
let _share = Share::try_from(data);
});