Package ghidra.app.decompiler
Class ClangVariableToken
java.lang.Object
ghidra.app.decompiler.ClangToken
ghidra.app.decompiler.ClangVariableToken
- All Implemented Interfaces:
ClangNode
Token representing a C variable
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(Decoder decoder, PcodeFactory pfactory) Get the high-level variable associate with this token or null otherwiseMany tokens directly represent a pcode operator in the data-flowMany tokens directly represent a variable in the data-flowbooleanMethods inherited from class ghidra.app.decompiler.ClangToken
buildSpacer, buildToken, Child, flatten, getClangFunction, getHighlight, getLineParent, getSyntaxType, getText, isMatchingToken, numChildren, Parent, setHighlight, setLineParent, setMatchingToken, toString
-
Constructor Details
-
ClangVariableToken
-
-
Method Details
-
getVarnode
Description copied from class:ClangTokenMany tokens directly represent a variable in the data-flow- Overrides:
getVarnodein classClangToken- Returns:
- the variable (Varnode) associated with this token or null
-
getPcodeOp
Description copied from class:ClangTokenMany tokens directly represent a pcode operator in the data-flow- Overrides:
getPcodeOpin classClangToken- Returns:
- the operation (PcodeOp) associated with this token or null
-
isVariableRef
public boolean isVariableRef()- Overrides:
isVariableRefin classClangToken
-
getMinAddress
- Specified by:
getMinAddressin interfaceClangNode- Overrides:
getMinAddressin classClangToken
-
getMaxAddress
- Specified by:
getMaxAddressin interfaceClangNode- Overrides:
getMaxAddressin classClangToken
-
getHighVariable
Description copied from class:ClangTokenGet the high-level variable associate with this token or null otherwise- Overrides:
getHighVariablein classClangToken- Returns:
- HighVariable
-
decode
- Overrides:
decodein classClangToken- Throws:
DecoderException
-