Frida Docs Unified
    Preparing search index...
    • Replaces function at target with implementation at replacement.

      May be implemented using e.g. NativeCallback or CModule.

      Target is modified to vector directly to your replacement, which means there is less overhead compared to Interceptor.replace(). This also means that you need to use the returned pointer if you want to call the original implementation.

      The target may be specified either as a bare address, or as an object carrying the address alongside instrumentation options such as which scratch register to use.

      Parameters

      Returns NativePointer

      Address of trampoline that lets you call the original function.