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 void
apply(ParserWalker walker, SleighDebugLogger debug)
int
getMask()
PatternExpression
getPatternExpression()
int
getShift()
int
getWordIndex()
void
restoreXml(XmlPullParser parser, SleighLanguage lang)
java.lang.String
toString()
-
-
-
Method Detail
-
apply
public void apply(ParserWalker walker, SleighDebugLogger debug) throws MemoryAccessException
- Specified by:
apply
in interfaceContextChange
- Throws:
MemoryAccessException
-
restoreXml
public void restoreXml(XmlPullParser parser, SleighLanguage lang)
- Specified by:
restoreXml
in interfaceContextChange
-
getPatternExpression
public PatternExpression getPatternExpression()
-
getWordIndex
public int getWordIndex()
-
getMask
public int getMask()
-
getShift
public int getShift()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-