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
-
Method Summary
Modifier and TypeMethodDescriptionstatic DisjointPattern
decodeDisjoint
(Decoder decoder) abstract PatternBlock
getBlock
(boolean context) getDisjoint
(int i) int
getLength
(boolean context) int
getMask
(int startbit, int size, boolean context) int
getValue
(int startbit, int size, boolean context) byte[]
boolean
identical
(DisjointPattern op2) int
boolean
Methods 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:
numDisjoint
in classPattern
-
getDisjoint
- Specified by:
getDisjoint
in 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
-