Package ghidra.pcodeCPort.slghpattern
Class DisjointPattern
- java.lang.Object
-
- ghidra.pcodeCPort.slghpattern.Pattern
-
- ghidra.pcodeCPort.slghpattern.DisjointPattern
-
- Direct Known Subclasses:
CombinePattern
,ContextPattern
,InstructionPattern
public abstract class DisjointPattern extends Pattern
-
-
Constructor Summary
Constructors Constructor Description DisjointPattern()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PatternBlock
getBlock(boolean context)
DisjointPattern
getDisjoint(int i)
int
getLength(boolean context)
int
getMask(int startbit, int size, boolean context)
int
getValue(int startbit, int size, boolean context)
boolean
identical(DisjointPattern op2)
int
numDisjoint()
static boolean
resolveIntersectBlock(PatternBlock bl1, PatternBlock bl2, PatternBlock thisblock)
boolean
resolvesIntersect(DisjointPattern op1, DisjointPattern op2)
static DisjointPattern
restoreDisjoint(org.jdom.Element el)
boolean
specializes(DisjointPattern op2)
java.lang.String
toString()
-
Methods inherited from class ghidra.pcodeCPort.slghpattern.Pattern
alwaysFalse, alwaysInstructionTrue, alwaysTrue, commonSubPattern, dispose, doAnd, doOr, isMatch, restoreXml, saveXml, shiftInstruction, simplifyClone
-
-
-
-
Method Detail
-
getBlock
protected abstract PatternBlock getBlock(boolean context)
-
numDisjoint
public int numDisjoint()
- Specified by:
numDisjoint
in classPattern
-
getDisjoint
public DisjointPattern getDisjoint(int i)
- 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
public boolean specializes(DisjointPattern op2)
-
identical
public boolean identical(DisjointPattern op2)
-
resolveIntersectBlock
public static boolean resolveIntersectBlock(PatternBlock bl1, PatternBlock bl2, PatternBlock thisblock)
-
resolvesIntersect
public boolean resolvesIntersect(DisjointPattern op1, DisjointPattern op2)
-
restoreDisjoint
public static DisjointPattern restoreDisjoint(org.jdom.Element el)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-