Class DisjointPattern
java.lang.Object
ghidra.app.plugin.processors.sleigh.pattern.Pattern
ghidra.app.plugin.processors.sleigh.pattern.DisjointPattern
- Direct Known Subclasses:
CombinePattern,ContextPattern,InstructionPattern
A pattern with no ORs in it
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DisjointPatterndecodeDisjoint(Decoder decoder) abstract PatternBlockgetBlock(boolean context) getDisjoint(int i) intgetLength(boolean context) intgetMask(int startbit, int size, boolean context) intgetValue(int startbit, int size, boolean context) byte[]booleanidentical(DisjointPattern op2) intbooleanMethods inherited from class ghidra.app.plugin.processors.sleigh.pattern.Pattern
alwaysFalse, alwaysInstructionTrue, alwaysTrue, decode, doAnd, doOr, isMatch, shiftInstruction, simplifyClone
-
Constructor Details
-
DisjointPattern
public DisjointPattern()
-
-
Method Details
-
getBlock
-
getInstructionBlock
-
getContextBlock
-
getWholeInstructionBytes
public byte[] getWholeInstructionBytes() -
numDisjoint
public int numDisjoint()- Specified by:
numDisjointin classPattern
-
getDisjoint
- Specified by:
getDisjointin classPattern
-
getMask
public int getMask(int startbit, int size, boolean context) -
getValue
public int getValue(int startbit, int size, boolean context) -
getLength
public int getLength(boolean context) -
specializes
-
identical
-
decodeDisjoint
- Throws:
DecoderException
-