Frida Docs Unified
    Preparing search index...
    • Invalidates the current thread's translated code for a given basic block. Useful when providing a transform callback and wanting to dynamically adapt the instrumentation for a given basic block. This is much more efficient than unfollowing and re-following the thread, which would discard all cached translations and require all encountered basic blocks to be compiled from scratch.

      Parameters

      Returns void

    • Invalidates a specific thread's translated code for a given basic block. Useful when providing a transform callback and wanting to dynamically adapt the instrumentation for a given basic block. This is much more efficient than unfollowing and re-following the thread, which would discard all cached translations and require all encountered basic blocks to be compiled from scratch.

      Parameters

      • threadId: number

        Thread that should have some of its code invalidated.

      • address: NativePointerValue

        Start address of basic block to invalidate.

      Returns void