10
0
Fork 0
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:
Xander Bil 2024-10-29 22:32:14 +01:00
parent a4bf483a82
commit cef51c5eab
No known key found for this signature in database
GPG key ID: EC9706B54A278598

View file

@ -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);
}); });