diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-15 18:02:43 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-15 18:02:43 +0200 |
| commit | 01bb4fee8c45caee757b3bdc5432fd88dbcdfca3 (patch) | |
| tree | 859b047dec61af5f9f4b954f345ca421f35881e2 /lib/xixanta/fuzz/fuzz_targets/fuzz-target-parser.rs | |
| parent | 1601d0353342230a2a93baa6f008bc16a10137a1 (diff) | |
| download | tools.nes-01bb4fee8c45caee757b3bdc5432fd88dbcdfca3.tar.gz tools.nes-01bb4fee8c45caee757b3bdc5432fd88dbcdfca3.zip | |
fuzz: change names to have dashes instead of underscore
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à <mssola@mssola.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..a68b9e2 --- /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, &xixanta::SourceInfo::default()); +}); |
