pub fn create_stack_frame<M: MemoryAccess, R: Reader<Offset = usize>>(
dwarf: &Dwarf<R>,
call_frame: CallFrame,
registers: &Registers,
mem: &mut M,
cwd: &str,
) -> Result<StackFrame<R>>Expand description
Gets the stack frame information.
Description:
dwarf- A reference to gimli-rsDwarfstruct.call_frame- A call frame which is used to evaluate the stack frame.registers- A register struct for accessing the register values.mem- A struct for accessing the memory of the debug target.cwd- The work directory of the debugged program.
This function will find stack frame information using a call frame.