Package ghidra.app.util.viewer.field
Class ResourceFieldLocation
java.lang.Object
ghidra.program.util.ProgramLocation
ghidra.program.util.CodeUnitLocation
ghidra.program.util.OperandFieldLocation
ghidra.app.util.viewer.field.ResourceFieldLocation
- All Implemented Interfaces:
Cloneable
,Comparable<ProgramLocation>
A
ProgramLocation
of an item that is a Resource
embedded in a binary (ie. a embedded graphic image)-
Field Summary
Fields inherited from class ghidra.program.util.ProgramLocation
addr, program, refAddr
-
Constructor Summary
ConstructorDescriptionDefault constructor needed for restoring from XML.ResourceFieldLocation
(Program program, Address address, int[] componentPath, String displayValue, int opIndex, int characterOffset, Data data) Creates an ResourceFieldLocation -
Method Summary
Modifier and TypeMethodDescriptionReturns the resource's Data instance.boolean
Returns true if this resource is aDataImage
.Methods inherited from class ghidra.program.util.OperandFieldLocation
equals, getOperandIndex, getOperandRepresentation, getSubOperandIndex, getVariableOffset, hashCode, restoreState, saveState, toString
Methods inherited from class ghidra.program.util.CodeUnitLocation
isValid
Methods inherited from class ghidra.program.util.ProgramLocation
clone, compareAddr, compareTo, getAddress, getByteAddress, getCharOffset, getColumn, getComponentPath, getLocation, getProgram, getRefAddress, getRow, getTranslatedCopy
-
Constructor Details
-
ResourceFieldLocation
public ResourceFieldLocation(Program program, Address address, int[] componentPath, String displayValue, int opIndex, int characterOffset, Data data) Creates an ResourceFieldLocation- Parameters:
program
- the programaddress
- the address of the locationcomponentPath
- the data component pathdisplayValue
- the text being displayed in the text.opIndex
- the index of the operand at this location.characterOffset
- the character position from the beginning of the operand.data
- Data instance at the specified address / component path
-
ResourceFieldLocation
public ResourceFieldLocation()Default constructor needed for restoring from XML.
-
-
Method Details