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

Method restore

icicle-cortexm/src/lib.rs:731–736  ·  view source on GitHub ↗
(&mut self, snapshot: &Box<dyn std::any::Any>)

Source from the content-addressed store, hash-verified

729 }
730
731 fn restore(&mut self, snapshot: &Box<dyn std::any::Any>) {
732 let (saved_prev, fuzzware) =
733 snapshot.downcast_ref::<(Option<u64>, FuzzwareSnapshot)>().unwrap();
734 fuzzware.restore(self.uc_ptr);
735 self.saved_prev = *saved_prev;
736 }
737
738 fn symbolize_addr(&mut self, _cpu: &mut Cpu, addr: u64) -> Option<SourceLocation> {
739 if is_arm_exception_return(addr as u32) {

Callers

nothing calls this directly

Calls 4

timers_restore_snapshotFunction · 0.85
nvic_restore_snapshotFunction · 0.85
systick_restore_snapshotFunction · 0.85

Tested by

no test coverage detected