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

Function getLinkRegister

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

Source from the content-addressed store, hash-verified

136}
137
138function getLinkRegister(context: CpuContext): NativePointer | null {
139 if (Process.arch === "arm64") {
140 return (context as Arm64CpuContext).lr;
141 }
142
143 if (Process.arch === "arm") {
144 return (context as ArmCpuContext).lr;
145 }
146
147 return null;
148}
149
150function getStackPointer(context: CpuContext): NativePointer | null {
151 if (Process.arch === "arm64") {

Callers 1

getContextMarkersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected