Package ghidra.app.decompiler
Class ClangFuncNameToken
java.lang.Object
ghidra.app.decompiler.ClangToken
ghidra.app.decompiler.ClangFuncNameToken
- All Implemented Interfaces:
ClangNode
A source code token representing a function name.
It contains a link back to the p-code function object represented by the name
-
Field Summary
Fields inherited from class ghidra.app.decompiler.ClangToken
COMMENT_COLOR, CONST_COLOR, DEFAULT_COLOR, ERROR_COLOR, FUNCTION_COLOR, GLOBAL_COLOR, KEYWORD_COLOR, MAX_COLOR, PARAMETER_COLOR, SPECIAL_COLOR, TYPE_COLOR, VARIABLE_COLOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(Decoder decoder, PcodeFactory pfactory) Decode this token from the current position in an encoded streamGet the biggest Program address associated with the code that this text representsGet the smallest Program address associated with the code that this text representsMany tokens directly represent a pcode operator in the data-flowMethods inherited from class ghidra.app.decompiler.ClangToken
buildSpacer, buildToken, Child, flatten, getClangFunction, getHighlight, getHighSymbol, getHighVariable, getLineParent, getScalar, getSyntaxType, getText, getVarnode, isMatchingToken, isVariableRef, iterator, numChildren, Parent, setHighlight, setLineParent, setMatchingToken, toString
-
Constructor Details
-
ClangFuncNameToken
-
-
Method Details
-
getHighFunction
- Returns:
- the HighFunction object associated with this name
-
getPcodeOp
Description copied from class:ClangToken
Many tokens directly represent a pcode operator in the data-flow- Overrides:
getPcodeOp
in classClangToken
- Returns:
- the operation (PcodeOp) associated with this token or null
-
getMinAddress
Description copied from interface:ClangNode
Get the smallest Program address associated with the code that this text represents- Specified by:
getMinAddress
in interfaceClangNode
- Overrides:
getMinAddress
in classClangToken
- Returns:
- the smallest Address
-
getMaxAddress
Description copied from interface:ClangNode
Get the biggest Program address associated with the code that this text represents- Specified by:
getMaxAddress
in interfaceClangNode
- Overrides:
getMaxAddress
in classClangToken
- Returns:
- the biggest Address
-
decode
Description copied from class:ClangToken
Decode this token from the current position in an encoded stream- Overrides:
decode
in classClangToken
- Parameters:
decoder
- is the decoder for the streampfactory
- is used to look up p-code objects associated with the token- Throws:
DecoderException
- for problems decoding the stream
-