Frida Docs Unified
    Preparing search index...

    Interface MemoryAllocNearOptions

    interface MemoryAllocNearOptions {
        maxDistance: number;
        near: NativePointer;
        protection?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    maxDistance: number

    Maximum distance to the given memory address, in bytes.

    Memory address to try allocating near.

    protection?: string

    Page protection to use for the allocation. Defaults to "rw".

    Specifying a protection that includes "x" requires size to be a multiple of Process.pageSize.