Package ghidra.program.util
Class FunctionCallFixupFieldLocation
- java.lang.Object
-
- ghidra.program.util.ProgramLocation
-
- ghidra.program.util.FunctionLocation
-
- ghidra.program.util.FunctionCallFixupFieldLocation
-
- All Implemented Interfaces:
java.lang.Comparable<ProgramLocation>
public class FunctionCallFixupFieldLocation extends FunctionLocation
TheFunctionCallFixupFieldLocationclass provides specific information about the Function call-fixup field within a program location.
-
-
Field Summary
-
Fields inherited from class ghidra.program.util.FunctionLocation
functionAddr
-
Fields inherited from class ghidra.program.util.ProgramLocation
addr, program, refAddr
-
-
Constructor Summary
Constructors Constructor Description FunctionCallFixupFieldLocation()Default constructor needed for restoring a program location from XMLFunctionCallFixupFieldLocation(Program program, Address locationAddr, Address functionAddr, java.lang.String callFixupName, int charOffset)Construct a new FunctionCallFixupFieldLocation object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCallFixupName()Get function call fixup nameinthashCode()voidrestoreState(Program p, SaveState obj)Restore this function location using the given program and save state object.voidsaveState(SaveState obj)Save this function location to the given save state object.java.lang.StringtoString()-
Methods inherited from class ghidra.program.util.FunctionLocation
getFunctionAddress, isValid
-
Methods inherited from class ghidra.program.util.ProgramLocation
compareAddr, compareTo, getAddress, getByteAddress, getCharOffset, getColumn, getComponentPath, getLocation, getProgram, getRefAddress, getRow
-
-
-
-
Constructor Detail
-
FunctionCallFixupFieldLocation
public FunctionCallFixupFieldLocation(Program program, Address locationAddr, Address functionAddr, java.lang.String callFixupName, int charOffset)
Construct a new FunctionCallFixupFieldLocation object.- Parameters:
the- program of the locationlocationAddr- the address of the listing location (i.e., referent code unit)functionAddr- the function addresspath- the group path from the program tree.callFixupName- the function call-fixup field text String at this location.charOffset- the character position within the field
-
FunctionCallFixupFieldLocation
public FunctionCallFixupFieldLocation()
Default constructor needed for restoring a program location from XML
-
-
Method Detail
-
getCallFixupName
public java.lang.String getCallFixupName()
Get function call fixup name- Returns:
- function call fixup name
-
hashCode
public int hashCode()
- Overrides:
hashCodein classProgramLocation
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classFunctionLocation- See Also:
Object.equals(java.lang.Object)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classFunctionLocation
-
saveState
public void saveState(SaveState obj)
Description copied from class:FunctionLocationSave this function location to the given save state object.- Overrides:
saveStatein classFunctionLocation- Parameters:
obj- the save state object for saving the location
-
restoreState
public void restoreState(Program p, SaveState obj)
Description copied from class:FunctionLocationRestore this function location using the given program and save state object.- Overrides:
restoreStatein classFunctionLocation
-
-