Class ConstantValue
- java.lang.Object
 - 
- ghidra.app.plugin.processors.sleigh.expression.PatternExpression
 - 
- ghidra.app.plugin.processors.sleigh.expression.PatternValue
 - 
- ghidra.app.plugin.processors.sleigh.expression.ConstantValue
 
 
 
 
- 
public class ConstantValue extends PatternValue
A constant value associated with an alwaysTrue pattern 
- 
- 
Constructor Summary
Constructors Constructor Description ConstantValue()ConstantValue(long b) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)longgetValue()longgetValue(ParserWalker walker)inthashCode()longmaxValue()longminValue()voidrestoreXml(XmlPullParser parser, SleighLanguage lang)java.lang.StringtoString()- 
Methods inherited from class ghidra.app.plugin.processors.sleigh.expression.PatternExpression
restoreExpression 
 - 
 
 - 
 
- 
- 
Method Detail
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
- 
minValue
public long minValue()
- Specified by:
 minValuein classPatternValue
 
- 
maxValue
public long maxValue()
- Specified by:
 maxValuein classPatternValue
 
- 
getValue
public long getValue(ParserWalker walker) throws MemoryAccessException
- Specified by:
 getValuein classPatternExpression- Throws:
 MemoryAccessException
 
- 
getValue
public long getValue()
 
- 
restoreXml
public void restoreXml(XmlPullParser parser, SleighLanguage lang)
- Specified by:
 restoreXmlin classPatternExpression
 
- 
toString
public java.lang.String toString()
- Specified by:
 toStringin classPatternExpression
 
 - 
 
 -