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

Method getLinkRegister

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

Source from the content-addressed store, hash-verified

823 }
824
825 private getLinkRegister(context: CpuContext): NativePointer | null {
826 if (Process.arch === "arm64") {
827 return (context as Arm64CpuContext).lr;
828 }
829
830 if (Process.arch === "arm") {
831 return (context as ArmCpuContext).lr;
832 }
833
834 return null;
835 }
836
837 private isCallInstruction(instruction: string | null): boolean {
838 if (instruction === null) {

Callers 4

stepInMethod · 0.95
stepOutMethod · 0.95
shouldAutoContinueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected