pub struct Arguments {
    pub command: FuzzerCommand,
    pub max_input_cplx: f64,
    pub detect_infinite_loop: bool,
    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: f64detect_infinite_loop: boolmaximum_duration: Durationmaximum_iterations: usizestop_after_first_failure: boolcorpus_in: Option<PathBuf>corpus_out: Option<PathBuf>artifacts_folder: Option<PathBuf>stats_folder: Option<PathBuf>

Implementations

Create an Arguments from the parsed result of options_parser().

Arguments
  • for_cargo_fuzzcheck : true if this method is called within cargo fuzzcheck, false otherwise. This is because cargo fuzzcheck also needs a fuzz target as argument, while the fuzzed binary does not.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.