Function rust_debug::call_stack::unwind_call_stack [−][src]
pub fn unwind_call_stack<'a, R: Reader<Offset = usize>, M: MemoryAccess>(
registers: Registers,
memory: &mut M,
debug_frame: &'a DebugFrame<R>
) -> Result<Vec<CallFrame>>Expand description
Will virtually unwind the call stack.
Description:
registers- ARegistersstruct which is used to read the register values.memory- Used to read the memory of the debugged target.debug_frame- A reference to the DWARF section.debug_frame.
This function will virtually unwind the call stack and return a Vec of CallFrames.