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

Method take

icicle-cortexm/src/lib.rs:859–868  ·  view source on GitHub ↗
(uc: *mut uc_engine)

Source from the content-addressed store, hash-verified

857
858impl FuzzwareSnapshot {
859 fn take(uc: *mut uc_engine) -> Self {
860 unsafe {
861 Self {
862 interrupt_trigger: fuzzware::interrupt_trigger_take_snapshot(uc),
863 timers: fuzzware::timers_take_snapshot(uc),
864 nvic: fuzzware::nvic_take_snapshot(uc),
865 systick: fuzzware::systick_take_snapshot(uc),
866 }
867 }
868 }
869
870 fn restore(&self, uc: *mut uc_engine) {
871 unsafe {

Callers 7

runMethod · 0.80
mask_returnMethod · 0.80
dropMethod · 0.80
extend_input_byFunction · 0.80
prepare_new_inputMethod · 0.80
print_last_blocksMethod · 0.80
apply_extendedMethod · 0.80

Calls 4

timers_take_snapshotFunction · 0.85
nvic_take_snapshotFunction · 0.85
systick_take_snapshotFunction · 0.85

Tested by

no test coverage detected