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

Function toCallPointer

agent/function-call.ts:45–51  ·  view source on GitHub ↗
(input: FunctionCallInput)

Source from the content-addressed store, hash-verified

43}
44
45function toCallPointer(input: FunctionCallInput): NativePointer {
46 if (isCallableNativeFunction(input)) {
47 return input.address;
48 }
49
50 return toPointer(input);
51}
52
53function isCallableNativeFunction(value: FunctionCallInput): value is CallableNativeFunction {
54 return typeof value === "function" && "address" in value && value.address instanceof NativePointer;

Callers 1

callFunctionFunction · 0.85

Calls 2

isCallableNativeFunctionFunction · 0.85
toPointerFunction · 0.85

Tested by

no test coverage detected