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

Function getFramePointer

agent/stack.ts:162–172  ·  view source on GitHub ↗
(context: CpuContext)

Source from the content-addressed store, hash-verified

160}
161
162function getFramePointer(context: CpuContext): NativePointer | null {
163 if (Process.arch === "arm64") {
164 return (context as Arm64CpuContext).fp;
165 }
166
167 if (Process.arch === "arm") {
168 return (context as ArmCpuContext).r11;
169 }
170
171 return null;
172}

Callers 1

logStackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected