diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-18 12:03:46 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-18 12:03:46 +0100 |
| commit | 82c5c350e569d77e2b05321cda553f388d948aa4 (patch) | |
| tree | 98c8e56e73a92068d3c7b59dc7aac5b5c6fc5926 /lib/xixanta/fuzz/fuzz_targets/fuzz_target_parser.rs | |
| parent | dbee63338fda39170118e3ab1f66637a690f5542 (diff) | |
| download | tools.nes-82c5c350e569d77e2b05321cda553f388d948aa4.tar.gz tools.nes-82c5c350e569d77e2b05321cda553f388d948aa4.zip | |
Rename xixanta's fuzz targets
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à <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/fuzz/fuzz_targets/fuzz_target_parser.rs')
| -rw-r--r-- | lib/xixanta/fuzz/fuzz_targets/fuzz_target_parser.rs | 8 |
1 files changed, 8 insertions, 0 deletions
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); +}); |
