pub struct Builder {
pub max_threads: usize,
pub max_memory: usize,
pub max_branches: usize,
pub max_permutations: Option<usize>,
pub max_duration: Option<Duration>,
pub checkpoint_file: Option<PathBuf>,
pub checkpoint_interval: usize,
pub runtime: Runtime,
pub log: bool,
/* private fields */
}
Expand description
Configure a fuzz execution.
Fields
max_threads: usize
Max number of threads to check as part of the execution. This should be set as low as possible.
max_memory: usize
Maximum amount of memory that can be consumed by the associated metadata.
max_branches: usize
Maximum number of thread switches per permutation.
max_permutations: Option<usize>
Maximum number of permutations to explore.
max_duration: Option<Duration>
Maximum amount of time to spend on a fuzz
checkpoint_file: Option<PathBuf>
When doing an exhaustive fuzz, uses the file to store and load the fuzz progress
checkpoint_interval: usize
How often to write the checkpoint file
runtime: Runtime
What runtime to use
log: bool
Log execution output to stdout.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more