summaryrefslogtreecommitdiff
path: root/fuzz/fuzz_targets
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/fuzz_targets')
-rw-r--r--fuzz/fuzz_targets/fuzz_target_vrrpv2.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/fuzz/fuzz_targets/fuzz_target_vrrpv2.rs b/fuzz/fuzz_targets/fuzz_target_vrrpv2.rs
new file mode 100644
index 0000000..ec03ae4
--- /dev/null
+++ b/fuzz/fuzz_targets/fuzz_target_vrrpv2.rs
@@ -0,0 +1,8 @@
+#![no_main]
+
+use libfuzzer_sys::fuzz_target;
+use vrrpd::vrrpv2;
+
+fuzz_target!(|data: &[u8]| {
+ let _ = vrrpv2::from_bytes(data);
+});