Class OperandSymbol
- java.lang.Object
-
- ghidra.app.plugin.processors.sleigh.symbol.Symbol
-
- ghidra.app.plugin.processors.sleigh.symbol.TripleSymbol
-
- ghidra.app.plugin.processors.sleigh.symbol.SpecificSymbol
-
- ghidra.app.plugin.processors.sleigh.symbol.OperandSymbol
-
public class OperandSymbol extends SpecificSymbol
Variable representing an operand to a specific Constructor
-
-
Constructor Summary
Constructors Constructor Description OperandSymbol()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatternExpression
getDefiningExpression()
TripleSymbol
getDefiningSymbol()
void
getFixedHandle(FixedHandle hnd, ParserWalker walker)
int
getIndex()
int
getMinimumLength()
int
getOffsetBase()
PatternExpression
getPatternExpression()
int
getRelativeOffset()
boolean
isCodeAddress()
java.lang.String
print(ParserWalker walker)
void
printList(ParserWalker walker, java.util.ArrayList<java.lang.Object> list)
void
restoreXml(XmlPullParser parser, SleighLanguage lang)
java.lang.String
toString()
-
Methods inherited from class ghidra.app.plugin.processors.sleigh.symbol.TripleSymbol
resolve
-
Methods inherited from class ghidra.app.plugin.processors.sleigh.symbol.Symbol
getId, getName, getScopeId, restoreHeaderXml
-
-
-
-
Method Detail
-
getRelativeOffset
public int getRelativeOffset()
-
getOffsetBase
public int getOffsetBase()
-
getMinimumLength
public int getMinimumLength()
-
getDefiningExpression
public PatternExpression getDefiningExpression()
-
getDefiningSymbol
public TripleSymbol getDefiningSymbol()
-
getIndex
public int getIndex()
-
isCodeAddress
public boolean isCodeAddress()
-
getPatternExpression
public PatternExpression getPatternExpression()
- Specified by:
getPatternExpression
in classTripleSymbol
-
getFixedHandle
public void getFixedHandle(FixedHandle hnd, 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) throws MemoryAccessException
- Specified by:
printList
in classTripleSymbol
- Throws:
MemoryAccessException
-
restoreXml
public void restoreXml(XmlPullParser parser, SleighLanguage lang)
- Specified by:
restoreXml
in classSymbol
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-