Backtracing Stack Frames on the ARM64 Architecture
A function's stack frame in ARM64 contains two key saved register values at its base, pointed to by the Frame Pointer (FP or X29) register. These are the saved Frame Pointer from the caller and the saved Link Register (LR or X30), which holds the return address. The FP register points to the base of...