Package ghidra.program.database.mem
Class AddressSourceInfo
java.lang.Object
ghidra.program.database.mem.AddressSourceInfo
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.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the address for which this object provides byte source information.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.longReturns 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 theMemoryBlockSourceInfofor the region surround this info's location.byteReturns 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.
- 
Constructor Details- 
AddressSourceInfo
 
- 
- 
Method Details- 
getAddressReturns the address for which this object provides byte source information.- Returns:
- the address for which this object provides byte source information.
 
- 
getFileOffsetpublic 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.
 
- 
getFileNameReturns 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.
 
- 
getOriginalValueReturns 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:
- IOException- if an io error occurs reading the program database.
 
- 
getMemoryBlockSourceInfoReturns theMemoryBlockSourceInfofor the region surround this info's location.- Returns:
- the MemoryBlockSourceInfofor the region surround this info's location.
 
 
-