mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
I have this "smith" fuzzer now, but I also want to have a "smith" tool to inspect the corpus, having two similar binaries is confusing, and also having files with the same name is confusing in editors that don't show the full path. So rename all fuzz binaries to start with fuzz_.
11 lines
210 B
Rust
11 lines
210 B
Rust
#![no_main]
|
|
|
|
//! This fuzzer tests that the CLI parser does not crash whatever the input.
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
|
|
use rcl::cli;
|
|
|
|
fuzz_target!(|input: Vec<String>| {
|
|
let _ = cli::parse(input);
|
|
});
|