MCPcopy Create free account
hub / github.com/axhlzy/FridaDebugger / getFramePointer

Method getFramePointer

agent/debugger.ts:846–856  ·  view source on GitHub ↗
(context: CpuContext)

Source from the content-addressed store, hash-verified

844 }
845
846 private getFramePointer(context: CpuContext): NativePointer | null {
847 if (Process.arch === "arm64") {
848 return (context as Arm64CpuContext).fp;
849 }
850
851 if (Process.arch === "arm") {
852 return (context as ArmCpuContext).r11;
853 }
854
855 return null;
856 }
857
858 private getStackPointer(context: CpuContext): NativePointer | null {
859 if (Process.arch === "arm64") {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected