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
public abstract class DisjointPattern extends Pattern
A pattern with no ORs in it 
- 
- 
Constructor Summary
Constructors Constructor Description DisjointPattern() 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract PatternBlockgetBlock(boolean context)PatternBlockgetContextBlock()DisjointPatterngetDisjoint(int i)PatternBlockgetInstructionBlock()intgetLength(boolean context)intgetMask(int startbit, int size, boolean context)intgetValue(int startbit, int size, boolean context)byte[]getWholeInstructionBytes()booleanidentical(DisjointPattern op2)intnumDisjoint()static DisjointPatternrestoreDisjoint(XmlPullParser parser)booleanspecializes(DisjointPattern op2)- 
Methods inherited from class ghidra.app.plugin.processors.sleigh.pattern.Pattern
alwaysFalse, alwaysInstructionTrue, alwaysTrue, doAnd, doOr, isMatch, restoreXml, shiftInstruction, simplifyClone 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getBlock
public abstract PatternBlock getBlock(boolean context)
 
- 
getInstructionBlock
public PatternBlock getInstructionBlock()
 
- 
getContextBlock
public PatternBlock getContextBlock()
 
- 
getWholeInstructionBytes
public byte[] getWholeInstructionBytes()
 
- 
numDisjoint
public int numDisjoint()
- Specified by:
 numDisjointin classPattern
 
- 
getDisjoint
public DisjointPattern getDisjoint(int i)
- 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
public boolean specializes(DisjointPattern op2)
 
- 
identical
public boolean identical(DisjointPattern op2)
 
- 
restoreDisjoint
public static DisjointPattern restoreDisjoint(XmlPullParser parser)
 
 - 
 
 -