Class SubtableSymbol
- java.lang.Object
-
- ghidra.app.plugin.processors.sleigh.symbol.Symbol
-
- ghidra.app.plugin.processors.sleigh.symbol.TripleSymbol
-
- ghidra.app.plugin.processors.sleigh.symbol.SubtableSymbol
-
public class SubtableSymbol extends TripleSymbol
A collection of Constructors or a Symbol representing one out of a family of Constructors, choosen based on InstructionContext
-
-
Constructor Summary
Constructors Constructor Description SubtableSymbol()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constructor
getConstructor(int i)
DecisionNode
getDecisionNode()
void
getFixedHandle(FixedHandle hand, ParserWalker walker)
int
getNumConstructors()
PatternExpression
getPatternExpression()
java.lang.String
print(ParserWalker walker)
void
printList(ParserWalker walker, java.util.ArrayList<java.lang.Object> list)
Constructor
resolve(ParserWalker walker, SleighDebugLogger debug)
void
restoreXml(XmlPullParser parser, SleighLanguage sleigh)
-
Methods inherited from class ghidra.app.plugin.processors.sleigh.symbol.Symbol
getId, getName, getScopeId, restoreHeaderXml
-
-
-
-
Method Detail
-
getDecisionNode
public DecisionNode getDecisionNode()
-
resolve
public Constructor resolve(ParserWalker walker, SleighDebugLogger debug) throws MemoryAccessException, UnknownInstructionException
- Overrides:
resolve
in classTripleSymbol
- Throws:
MemoryAccessException
UnknownInstructionException
-
getNumConstructors
public int getNumConstructors()
-
getConstructor
public Constructor getConstructor(int i)
-
getPatternExpression
public PatternExpression getPatternExpression()
- Specified by:
getPatternExpression
in classTripleSymbol
-
getFixedHandle
public void getFixedHandle(FixedHandle hand, ParserWalker walker)
- Specified by:
getFixedHandle
in classTripleSymbol
-
print
public java.lang.String print(ParserWalker walker) throws MemoryAccessException
- Specified by:
print
in classTripleSymbol
- Throws:
MemoryAccessException
-
printList
public void printList(ParserWalker walker, java.util.ArrayList<java.lang.Object> list)
- Specified by:
printList
in classTripleSymbol
-
restoreXml
public void restoreXml(XmlPullParser parser, SleighLanguage sleigh) throws UnknownInstructionException
- Specified by:
restoreXml
in classSymbol
- Throws:
UnknownInstructionException
-
-