From 01bb4fee8c45caee757b3bdc5432fd88dbcdfca3 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 15 Sep 2026 18:02:43 +0200 Subject: fuzz: change names to have dashes instead of underscore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From the latest update of Rust's stable channel, this was raised as a bad format for fuzz names. Signed-off-by: Miquel Sabaté Solà --- lib/header/fuzz/fuzz_targets/fuzz-target-header.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lib/header/fuzz/fuzz_targets/fuzz-target-header.rs (limited to 'lib/header/fuzz/fuzz_targets/fuzz-target-header.rs') diff --git a/lib/header/fuzz/fuzz_targets/fuzz-target-header.rs b/lib/header/fuzz/fuzz_targets/fuzz-target-header.rs new file mode 100644 index 0000000..794853a --- /dev/null +++ b/lib/header/fuzz/fuzz_targets/fuzz-target-header.rs @@ -0,0 +1,7 @@ +#![no_main] + +use libfuzzer_sys::fuzz_target; + +fuzz_target!(|data: &[u8]| { + let _ = header::Header::try_from(data); +}); -- cgit v1.2.3