java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.memory.Page

public class Page extends Object
Simple representation of a page of memory. Currently, this object is used by the IVirtualMemoryShim to retrieve diffs.
  • Constructor Details

    • Page

      public Page(long address, int protection, byte[] data)
      Create a memory page.
      Parameters:
      address - page base address
      protection - page protection flags
      data - page bytes
  • Method Details

    • getAddress

      public long getAddress()
      Retrieve the page address in memory.
      Returns:
      page base address
    • getSize

      public int getSize()
      Retrieve the page size in bytes.
      Returns:
      page size in bytes
    • getProtection

      public int getProtection()
      Retrieve the protection bits. Refer to IVirtualMemory for a complete list.
      Returns:
      protection bits
    • getData

      public byte[] getData()
      Retrieve the memory bytes. The array contents should not be modified.
      Returns:
      memory bytes