Package ghidra.app.decompiler
Class DecompilerLocationInfo
java.lang.Object
ghidra.app.decompiler.DecompilerLocationInfo
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor required for restoring a program location from XML.DecompilerLocationInfo
(Address entryPoint, DecompileResults results, ClangToken token, int lineNumber, int charPos) -
Method Summary
-
Constructor Details
-
DecompilerLocationInfo
public DecompilerLocationInfo(Address entryPoint, DecompileResults results, ClangToken token, int lineNumber, int charPos) -
DecompilerLocationInfo
public DecompilerLocationInfo()Default constructor required for restoring a program location from XML.
-
-
Method Details
-
getFunctionEntryPoint
-
getDecompile
Results from the decompilation- Returns:
- C-AST, DFG, and CFG object. null if there are no results attached to this location
-
getToken
C text token at the current cursor location- Returns:
- token at this location, could be null if there are no decompiler results
-
getTokenName
-
getLineNumber
public int getLineNumber() -
getCharPos
public int getCharPos() -
hashCode
public int hashCode() -
equals
-
saveState
-
restoreState
-
toString
-