pub fn unwind_call_stack<R: Reader<Offset = usize>, M: MemoryAccess>(
registers: Registers,
memory: &mut M,
debug_frame: &DebugFrame<R>,
) -> Result<Vec<CallFrame>>
Expand description
Will virtually unwind the call stack.
Description:
registers
- ARegisters
struct 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 CallFrame
s.