MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / reset

Method reset

hail-fuzz/src/main.rs:376–388  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

374
375impl State {
376 pub fn reset(&mut self) {
377 self.parent = None;
378 self.mutation_kinds.clear();
379 self.input.clear();
380 self.is_import = false;
381 self.exit = VmExit::Running;
382 self.exit_address = 0;
383 self.new_coverage = false;
384 self.exec_time = Duration::ZERO;
385 self.instructions = 0;
386 self.coverage_bits = 0;
387 self.hit_coverage.clear();
388 }
389
390 pub fn was_crash(&self) -> bool {
391 CrashKind::from(self.exit).is_crash()

Callers 4

fuzzing_loopFunction · 0.45
newMethod · 0.45
copy_current_inputMethod · 0.45
fuzz_oneMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected