Class ContextOp
- java.lang.Object
-
- ghidra.app.plugin.processors.sleigh.ContextOp
-
- All Implemented Interfaces:
ContextChange
public class ContextOp extends java.lang.Object implements ContextChange
An operation on the context (bit-packed form) of an instruction
-
-
Constructor Summary
Constructors Constructor Description ContextOp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(ParserWalker walker, SleighDebugLogger debug)intgetMask()PatternExpressiongetPatternExpression()intgetShift()intgetWordIndex()voidrestoreXml(XmlPullParser parser, SleighLanguage lang)java.lang.StringtoString()
-
-
-
Method Detail
-
apply
public void apply(ParserWalker walker, SleighDebugLogger debug) throws MemoryAccessException
- Specified by:
applyin interfaceContextChange- Throws:
MemoryAccessException
-
restoreXml
public void restoreXml(XmlPullParser parser, SleighLanguage lang)
- Specified by:
restoreXmlin interfaceContextChange
-
getPatternExpression
public PatternExpression getPatternExpression()
-
getWordIndex
public int getWordIndex()
-
getMask
public int getMask()
-
getShift
public int getShift()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-