From 82c5c350e569d77e2b05321cda553f388d948aa4 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 18 Dec 2024 12:03:46 +0100 Subject: Rename xixanta's fuzz targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They were named with increasing numbers due to the fact that that's the default behaviour from cargo fuzz's command. So, just rename them to proper human-readable names. Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/fuzz/fuzz_targets/fuzz_target_parser.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lib/xixanta/fuzz/fuzz_targets/fuzz_target_parser.rs (limited to 'lib/xixanta/fuzz/fuzz_targets/fuzz_target_parser.rs') diff --git a/lib/xixanta/fuzz/fuzz_targets/fuzz_target_parser.rs b/lib/xixanta/fuzz/fuzz_targets/fuzz_target_parser.rs new file mode 100644 index 0000000..442dbbf --- /dev/null +++ b/lib/xixanta/fuzz/fuzz_targets/fuzz_target_parser.rs @@ -0,0 +1,8 @@ +#![no_main] + +use libfuzzer_sys::fuzz_target; + +fuzz_target!(|data: &[u8]| { + let mut parser = xixanta::parser::Parser::default(); + let _ = parser.parse(data); +}); -- cgit v1.2.3