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

Method restore_prefix

hail-fuzz/src/main.rs:433–441  ·  view source on GitHub ↗
(fuzzer: &mut Fuzzer)

Source from the content-addressed store, hash-verified

431 }
432
433 pub fn restore_prefix(fuzzer: &mut Fuzzer) {
434 let snapshot = fuzzer.prefix_snapshot.as_ref().unwrap();
435 fuzzer.coverage.restore_local(&mut fuzzer.vm, &snapshot.coverage);
436 fuzzer.vm.restore(&snapshot.vm);
437 if let Some(x) = fuzzer.path_tracer {
438 x.restore(&mut fuzzer.vm, snapshot.tracer.as_ref().unwrap());
439 }
440 fuzzer.vm.cpu.mem.mapping_changed = false;
441 }
442}
443
444pub fn setup_vm(

Callers

nothing calls this directly

Calls 2

restore_localMethod · 0.80
restoreMethod · 0.45

Tested by

no test coverage detected