Function protect

  • Changes the page protection on a region of memory.

    Parameters

    • address: NativePointerValue

      Starting address.

    • size: number | UInt64

      Number of bytes. Must be a multiple of Process#pageSize.

    • protection: string

      Desired page protection.

    Returns boolean

Generated using TypeDoc