Class ContextSymbol
java.lang.Object
ghidra.app.plugin.processors.sleigh.symbol.Symbol
ghidra.app.plugin.processors.sleigh.symbol.TripleSymbol
ghidra.app.plugin.processors.sleigh.symbol.FamilySymbol
ghidra.app.plugin.processors.sleigh.symbol.ValueSymbol
ghidra.app.plugin.processors.sleigh.symbol.ContextSymbol
A ValueSymbol that gets its semantic value from contiguous bits
in a VarnodeSymbol. This serves as an embedding of a ContextOp
into an actual Varnode and is probably only relevant at compile time
-
Field Summary
Fields inherited from class ghidra.app.plugin.processors.sleigh.symbol.ValueSymbol
patval -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(Decoder decoder, SleighLanguage sleigh) booleanintgetHigh()Get ending bit of context value within its context register.intGet the ending bit of the context value within the "global" buffer, after the values have been packed.intGet the starting bit of the context value within the "global" buffer, after the values have been packed.intgetLow()Get starting bit of context value within its context register.Methods inherited from class ghidra.app.plugin.processors.sleigh.symbol.ValueSymbol
getFixedHandle, getPatternExpression, getPatternValue, print, printListMethods inherited from class ghidra.app.plugin.processors.sleigh.symbol.TripleSymbol
resolveMethods inherited from class ghidra.app.plugin.processors.sleigh.symbol.Symbol
decodeHeader, getId, getName, getScopeId
-
Constructor Details
-
ContextSymbol
public ContextSymbol()
-
-
Method Details
-
getVarnode
-
getLow
public int getLow()Get starting bit of context value within its context register.- Returns:
- the starting bit
-
getHigh
public int getHigh()Get ending bit of context value within its context register.- Returns:
- the ending bit
-
getInternalLow
public int getInternalLow()Get the starting bit of the context value within the "global" buffer, after the values have been packed.- Returns:
- the starting bit
-
getInternalHigh
public int getInternalHigh()Get the ending bit of the context value within the "global" buffer, after the values have been packed.- Returns:
- the ending bit
-
followsFlow
public boolean followsFlow() -
decode
- Overrides:
decodein classValueSymbol- Throws:
DecoderException
-