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

Method snapshot

hail-fuzz/src/debugging/trace.rs:62–64  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

60 }
61
62 fn snapshot(&self) -> Box<dyn std::any::Any> {
63 Box::new(self.clone())
64 }
65
66 fn restore(&mut self, snapshot: &Box<dyn std::any::Any>) {
67 self.clone_from(snapshot.downcast_ref().unwrap());

Callers 3

save_block_coverageFunction · 0.45
replay_benchFunction · 0.45
analyze_crashesFunction · 0.45

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected