mirror of
https://github.com/ZeusWPI/ZNS.git
synced 2024-11-23 14:11:10 +01:00
I really should have a pre-commit hook for formatting
This commit is contained in:
parent
a4bf483a82
commit
cef51c5eab
1 changed files with 1 additions and 6 deletions
|
@ -1,14 +1,9 @@
|
||||||
#![no_main]
|
#![no_main]
|
||||||
|
|
||||||
use libfuzzer_sys::fuzz_target;
|
use libfuzzer_sys::fuzz_target;
|
||||||
use zns::{
|
use zns::{parser::FromBytes, reader::Reader, structs::Message};
|
||||||
parser::{FromBytes},
|
|
||||||
reader::Reader,
|
|
||||||
structs::Message,
|
|
||||||
};
|
|
||||||
|
|
||||||
fuzz_target!(|data: &[u8]| {
|
fuzz_target!(|data: &[u8]| {
|
||||||
let mut reader = Reader::new(data);
|
let mut reader = Reader::new(data);
|
||||||
let _ = Message::from_bytes(&mut reader);
|
let _ = Message::from_bytes(&mut reader);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue