Frida Docs Unified
    Preparing search index...

    Interface MemoryScanCallbacks

    interface MemoryScanCallbacks {
        onComplete?: () => void;
        onError?: (reason: string) => void;
        onMatch: (address: NativePointer, size: number) => void | "stop";
    }
    Index

    Properties

    onComplete?: () => void

    Called when the memory range has been fully scanned.

    onError?: (reason: string) => void

    Called when there was a memory access error while scanning.

    Type Declaration

      • (reason: string): void
      • Parameters

        • reason: string

          Why the memory access failed.

        Returns void

    onMatch: (address: NativePointer, size: number) => void | "stop"

    Called with each occurence that was found.

    Type Declaration

      • (address: NativePointer, size: number): void | "stop"
      • Parameters

        • address: NativePointer

          Memory address where a match was found.

        • size: number

          Size of this match.

        Returns void | "stop"