Package ghidra.pcodeCPort.slghpattern
Class InstructionPattern
- java.lang.Object
-
- ghidra.pcodeCPort.slghpattern.Pattern
-
- ghidra.pcodeCPort.slghpattern.DisjointPattern
-
- ghidra.pcodeCPort.slghpattern.InstructionPattern
-
public class InstructionPattern extends DisjointPattern
-
-
Constructor Summary
Constructors Constructor Description InstructionPattern()
InstructionPattern(boolean tf)
InstructionPattern(PatternBlock mv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
alwaysFalse()
boolean
alwaysInstructionTrue()
boolean
alwaysTrue()
Pattern
commonSubPattern(Pattern b, int sa)
void
dispose()
Pattern
doAnd(Pattern b, int sa)
Pattern
doOr(Pattern b, int sa)
PatternBlock
getBlock()
protected PatternBlock
getBlock(boolean context)
boolean
isMatch(ParserWalker pos)
void
restoreXml(org.jdom.Element el)
void
saveXml(java.io.PrintStream s)
void
shiftInstruction(int sa)
Pattern
simplifyClone()
java.lang.String
toString()
-
Methods inherited from class ghidra.pcodeCPort.slghpattern.DisjointPattern
getDisjoint, getLength, getMask, getValue, identical, numDisjoint, resolveIntersectBlock, resolvesIntersect, restoreDisjoint, specializes
-
-
-
-
Constructor Detail
-
InstructionPattern
public InstructionPattern()
-
InstructionPattern
public InstructionPattern(PatternBlock mv)
-
InstructionPattern
public InstructionPattern(boolean tf)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDisjointPattern
-
getBlock
protected PatternBlock getBlock(boolean context)
- Specified by:
getBlock
in classDisjointPattern
-
getBlock
public PatternBlock getBlock()
-
simplifyClone
public Pattern simplifyClone()
- Specified by:
simplifyClone
in classPattern
-
shiftInstruction
public void shiftInstruction(int sa)
- Specified by:
shiftInstruction
in classPattern
-
isMatch
public boolean isMatch(ParserWalker pos)
-
alwaysTrue
public boolean alwaysTrue()
- Specified by:
alwaysTrue
in classPattern
-
alwaysFalse
public boolean alwaysFalse()
- Specified by:
alwaysFalse
in classPattern
-
alwaysInstructionTrue
public boolean alwaysInstructionTrue()
- Specified by:
alwaysInstructionTrue
in classPattern
-
commonSubPattern
public Pattern commonSubPattern(Pattern b, int sa)
- Specified by:
commonSubPattern
in classPattern
-
restoreXml
public void restoreXml(org.jdom.Element el)
- Specified by:
restoreXml
in classPattern
-
-