Class DBTraceInstruction.GuestMemBuffer

java.lang.Object
ghidra.trace.database.listing.DBTraceInstruction.GuestMemBuffer
All Implemented Interfaces:
MemBuffer, MemBufferMixin
Enclosing class:
DBTraceInstruction

protected class DBTraceInstruction.GuestMemBuffer extends Object implements MemBufferMixin
  • Constructor Details

    • GuestMemBuffer

      protected GuestMemBuffer()
  • Method Details

    • getAddress

      public Address getAddress()
      Description copied from interface: MemBuffer
      Get the Address which corresponds to the offset 0.
      Specified by:
      getAddress in interface MemBuffer
      Returns:
      the current address of offset 0.
    • getMemory

      public Memory getMemory()
      Description copied from interface: MemBuffer
      Get the Memory object actually used by the MemBuffer.
      Specified by:
      getMemory in interface MemBuffer
      Returns:
      the Memory used by this MemBuffer or null if not available.
    • isBigEndian

      public boolean isBigEndian()
      Description copied from interface: MemBuffer
      Returns true if the underlying bytes are in big-endian order, false if they are little endian.
      Specified by:
      isBigEndian in interface MemBuffer
      Returns:
      true if the underlying bytes are in big-endian order, false if they are little endian.
    • getBytes

      public int getBytes(ByteBuffer buffer, int addressOffset)
      Specified by:
      getBytes in interface MemBufferMixin