(uc: *mut uc_engine)
| 857 | |
| 858 | impl 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 { |
no test coverage detected