Interface TraceGuestPlatformMappedRange

All Known Implementing Classes:
DBTraceGuestPlatformMappedRange

public interface TraceGuestPlatformMappedRange
A range of mapped memory from guest platform to host platform
  • Method Details

    • getHostPlatform

      TracePlatform getHostPlatform()
      Get the host platform
      Returns:
      the host platform
    • getHostRange

      AddressRange getHostRange()
      Get the address range in the host
      Returns:
      the host range
    • getGuestPlatform

      TraceGuestPlatform getGuestPlatform()
      Get the guest platform
      Returns:
      the guest platform
    • getGuestRange

      AddressRange getGuestRange()
      Get the address range in the guest
      Returns:
      the guest range
    • mapHostToGuest

      Address mapHostToGuest(Address hostAddress)
      Translate an address from host to guest, if in the host range
      Parameters:
      hostAddress - the host address
      Returns:
      the guest address, or null
    • mapHostToGuest

      AddressRange mapHostToGuest(AddressRange hostRange)
      Translate an address range from host to guest, if wholly contained in the host range
      Parameters:
      hostRange - the host range
      Returns:
      the guest range, or null
    • mapGuestToHost

      Address mapGuestToHost(Address guestAddress)
      Translate an address from guest to host, if in the guest range
      Parameters:
      guestAddress - the guest address
      Returns:
      the host address, or null
    • mapGuestToHost

      AddressRange mapGuestToHost(AddressRange guestRange)
      Translate an address range from guest to host, if wholly contained in the guest range
      Parameters:
      guestRange - the guest range
      Returns:
      the host range, or null
    • delete

      void delete(TaskMonitor monitor) throws CancelledException
      Delete this mapping entry
      Parameters:
      monitor - a monitor for cleaning up dependent objects, e.g., code units
      Throws:
      CancelledException - if the user cancels via the monitor