Struct fuzzcheck::Arguments [−][src]
pub struct Arguments {
pub command: FuzzerCommand,
pub max_input_cplx: f64,
pub maximum_duration: Duration,
pub maximum_iterations: usize,
pub stop_after_first_failure: bool,
pub corpus_in: Option<PathBuf>,
pub corpus_out: Option<PathBuf>,
pub artifacts_folder: Option<PathBuf>,
pub stats_folder: Option<PathBuf>,
}Expand description
Various arguments given to the fuzzer, typically provided by the cargo fuzzcheck command line tool.
Fields
command: FuzzerCommandmax_input_cplx: f64maximum_duration: Durationmaximum_iterations: usizestop_after_first_failure: boolcorpus_in: Option<PathBuf>corpus_out: Option<PathBuf>artifacts_folder: Option<PathBuf>stats_folder: Option<PathBuf>Implementations
pub fn from_matches(
matches: &Matches,
for_cargo_fuzzcheck: bool
) -> Result<Arguments, ArgumentsError>
pub fn from_matches(
matches: &Matches,
for_cargo_fuzzcheck: bool
) -> Result<Arguments, ArgumentsError>
Create an Arguments from the parsed result of options_parser().
Arguments
for_cargo_fuzzcheck: true if this method is called withincargo fuzzcheck, false otherwise. This is becausecargo fuzzcheckalso needs a fuzz target as argument, while the fuzzed binary does not.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Arguments
impl UnwindSafe for Arguments
Blanket Implementations
Mutably borrows from an owned value. Read more