pub struct StackdumpCapturer<'a, 'probe>(_);
Implementations§
source§impl<'a, 'probe> StackdumpCapturer<'a, 'probe>
impl<'a, 'probe> StackdumpCapturer<'a, 'probe>
pub fn new(core: &'a mut Core<'probe>) -> Self
pub fn capture_core_registers(&mut self) -> Result<VecRegisterData<u32>, Error>
pub fn capture_fpu_registers( &mut self ) -> Result<Option<VecRegisterData<u32>>, Error>
Trait Implementations§
source§impl<'a, 'probe> MemoryRegion for StackdumpCapturer<'a, 'probe>
impl<'a, 'probe> MemoryRegion for StackdumpCapturer<'a, 'probe>
source§fn read(
&self,
address_range: Range<u64>
) -> Result<Option<Vec<u8>>, MemoryReadError>
fn read( &self, address_range: Range<u64> ) -> Result<Option<Vec<u8>>, MemoryReadError>
Returns the slice of memory that can be found at the given address_range.
If the given address range is not fully within the captured region, then None is returned.