FuzzConfig
struct FuzzConfigConfiguration for a fuzzing run.
Fields:
max_runs: Total number of mutation iterations (default 100 000).
max_input_len: Maximum length of a mutated input in bytes
(default 65 540 — covers a max-sized WS frame).
seed: PRNG seed; 0 picks a non-deterministic seed from a
stack address.
corpus_dir: If non-empty, load seeds from this directory before
the run and save new interesting seeds to it.
crash_dir: Directory where crashing inputs are saved
(default ".mozz_crashes").
verbose: Print progress and final summary to stdout
(default True).
report_file: If non-empty, write the final summary to this file
in addition to stdout (default ""). The file is
created or overwritten; intermediate directories must
already exist.
timeout_ms: Per-iteration timeout in milliseconds; 0 = no timeout
(timeout enforcement is not implemented in v0.1.0 —
the field is reserved for future use).
Implements Movable
- Fields
max_runs: Intmax_input_len: Intseed: UInt64corpus_dir: Stringcrash_dir: Stringverbose: Boolreport_file: Stringtimeout_ms: Int
__init__
def __init__(out self, max_runs: Int = Int(100000), max_input_len: Int = Int(65540), seed: UInt64 = UInt64(0), corpus_dir: String = "", crash_dir: String = ".mozz_crashes", verbose: Bool = True, report_file: String = "", timeout_ms: Int = Int(0)) Create a FuzzConfig.
- Args
max_runs: Number of fuzz iterations.max_input_len: Maximum mutated input size (bytes).seed: PRNG seed (0 = non-deterministic).corpus_dir: Directory for persistent corpus (empty = in-memory only).crash_dir: Directory to save crash inputs.verbose: Print progress and final summary to stdout.report_file: Path to write the final report to (empty = no file output).timeout_ms: Per-call timeout (reserved; not enforced in v0.1.0).