Class ValueSymbol
- 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
-
- Direct Known Subclasses:
ContextSymbol
,NameSymbol
,ValueMapSymbol
,VarnodeListSymbol
public class ValueSymbol extends FamilySymbol
A variable with its semantic (and printing) value equal to a fixed mapping of its pattern
-
-
Field Summary
Fields Modifier and Type Field Description protected PatternValue
patval
-
Constructor Summary
Constructors Constructor Description ValueSymbol()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getFixedHandle(FixedHandle hand, ParserWalker walker)
PatternExpression
getPatternExpression()
PatternValue
getPatternValue()
java.lang.String
print(ParserWalker walker)
void
printList(ParserWalker walker, java.util.ArrayList<java.lang.Object> list)
void
restoreXml(XmlPullParser parser, SleighLanguage sleigh)
-
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
-
-
-
-
Field Detail
-
patval
protected PatternValue patval
-
-
Method Detail
-
getPatternValue
public PatternValue getPatternValue()
- Specified by:
getPatternValue
in classFamilySymbol
-
getPatternExpression
public PatternExpression getPatternExpression()
- Specified by:
getPatternExpression
in classTripleSymbol
-
getFixedHandle
public void getFixedHandle(FixedHandle hand, ParserWalker walker) throws MemoryAccessException
- Specified by:
getFixedHandle
in classTripleSymbol
- Throws:
MemoryAccessException
-
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 sleigh)
- Specified by:
restoreXml
in classSymbol
-
-