Class ContextField
- java.lang.Object
-
- ghidra.app.plugin.processors.sleigh.expression.PatternExpression
-
- ghidra.app.plugin.processors.sleigh.expression.PatternValue
-
- ghidra.app.plugin.processors.sleigh.expression.ContextField
-
public class ContextField extends PatternValue
Contiguous bits in the non-instruction part of the context interpreted as an integer value
-
-
Constructor Summary
Constructors Constructor Description ContextField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getByteEnd()
int
getByteStart()
int
getEndBit()
int
getShift()
boolean
getSignBit()
int
getStartBit()
long
getValue(ParserWalker walker)
int
hashCode()
boolean
hasSignbit()
long
maxValue()
long
minValue()
void
restoreXml(XmlPullParser parser, SleighLanguage lang)
java.lang.String
toString()
-
Methods inherited from class ghidra.app.plugin.processors.sleigh.expression.PatternExpression
restoreExpression
-
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getStartBit
public int getStartBit()
-
getEndBit
public int getEndBit()
-
getSignBit
public boolean getSignBit()
-
minValue
public long minValue()
- Specified by:
minValue
in classPatternValue
-
maxValue
public long maxValue()
- Specified by:
maxValue
in classPatternValue
-
getValue
public long getValue(ParserWalker walker) throws MemoryAccessException
- Specified by:
getValue
in classPatternExpression
- Throws:
MemoryAccessException
-
restoreXml
public void restoreXml(XmlPullParser parser, SleighLanguage lang)
- Specified by:
restoreXml
in classPatternExpression
-
hasSignbit
public boolean hasSignbit()
-
getByteStart
public int getByteStart()
-
getByteEnd
public int getByteEnd()
-
getShift
public int getShift()
-
toString
public java.lang.String toString()
- Specified by:
toString
in classPatternExpression
-
-