Class AddressSourceInfo


  • public class AddressSourceInfo
    extends java.lang.Object
    Provides information about the source of a byte value at an address including the file it came from, the offset into that file, and the original value of that byte.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Address getAddress()
      Returns the address for which this object provides byte source information.
      java.lang.String getFileName()
      Returns the filename of the originally imported file that provided the byte value for the associated address or null if there is no source information for this location.
      long getFileOffset()
      Returns the offset into the originally imported file that provided the byte value for the associated address or -1 if there is no source information for this location.
      MemoryBlockSourceInfo getMemoryBlockSourceInfo()
      Returns the MemoryBlockSourceInfo for the region surround this info's location.
      byte getOriginalValue()
      Returns the original byte value from the imported file that provided the byte value for the associated address or 0 if there is no source information for this location.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAddress

        public Address getAddress()
        Returns the address for which this object provides byte source information.
        Returns:
        the address for which this object provides byte source information.
      • getFileOffset

        public long getFileOffset()
        Returns the offset into the originally imported file that provided the byte value for the associated address or -1 if there is no source information for this location.
        Returns:
        the offset into the originally imported file that provided the byte value for the associated address.
      • getFileName

        public java.lang.String getFileName()
        Returns the filename of the originally imported file that provided the byte value for the associated address or null if there is no source information for this location.
        Returns:
        the filename of the originally imported file that provided the byte value for the associated address or null if there is no source information for this location.
      • getOriginalValue

        public byte getOriginalValue()
                              throws java.io.IOException
        Returns the original byte value from the imported file that provided the byte value for the associated address or 0 if there is no source information for this location.
        Returns:
        the original byte value from the imported file that provided the byte value for the associated address or 0 if there is no source information for this location.
        Throws:
        java.io.IOException - if an io error occurs reading the program database.