Interface MemoryScanCallbacks

Hierarchy

  • MemoryScanCallbacks

Properties

onComplete?: (() => void)

Type declaration

    • (): void
    • Called when the memory range has been fully scanned.

      Returns void

onError?: ((reason: string) => void)

Type declaration

    • (reason: string): void
    • Called when there was a memory access error while scanning.

      Parameters

      • reason: string

        Why the memory access failed.

      Returns void

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

Type declaration

    • (address: NativePointer, size: number): void | "stop"
    • Called with each occurence that was found.

      Parameters

      • address: NativePointer

        Memory address where a match was found.

      • size: number

        Size of this match.

      Returns void | "stop"

Generated using TypeDoc