Package ghidra.program.util
Class FileOffsetFieldLocation
java.lang.Object
ghidra.program.util.ProgramLocation
ghidra.program.util.CodeUnitLocation
ghidra.program.util.FileOffsetFieldLocation
- All Implemented Interfaces:
Comparable<ProgramLocation>
Provides specific information about a program location within the File Offset field
-
Field Summary
Fields inherited from class ghidra.program.util.ProgramLocation
addr, program, refAddr
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor needed for restoring the field location from XMLFileOffsetFieldLocation
(Program program, Address addr, int[] componentPath, int charOffset) Creates a newFileOffsetFieldLocation
for the given address -
Method Summary
Methods inherited from class ghidra.program.util.CodeUnitLocation
isValid
Methods inherited from class ghidra.program.util.ProgramLocation
compareAddr, compareTo, equals, getAddress, getByteAddress, getCharOffset, getColumn, getComponentPath, getLocation, getProgram, getRefAddress, getRow, hashCode, restoreState, saveState, toString
-
Constructor Details
-
FileOffsetFieldLocation
Creates a newFileOffsetFieldLocation
for the given address- Parameters:
program
- the programaddr
- the address of the byte for this locationcomponentPath
- the path to data, or nullcharOffset
- the position into the string representation indicating the exact position within the field
-
FileOffsetFieldLocation
public FileOffsetFieldLocation()Default constructor needed for restoring the field location from XML
-