Class OrPattern
java.lang.Object
ghidra.app.plugin.processors.sleigh.pattern.Pattern
ghidra.app.plugin.processors.sleigh.pattern.OrPattern
A pattern that can be matched by matching any of a list of subpatterns
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanvoidgetDisjoint(int i) booleanisMatch(ParserWalker walker, SleighDebugLogger debug) intvoidshiftInstruction(int sa)
-
Constructor Details
-
OrPattern
public OrPattern() -
OrPattern
-
OrPattern
-
-
Method Details
-
simplifyClone
- Specified by:
simplifyClonein classPattern
-
shiftInstruction
public void shiftInstruction(int sa) - Specified by:
shiftInstructionin classPattern
-
doOr
-
doAnd
-
isMatch
- Specified by:
isMatchin classPattern- Throws:
MemoryAccessException
-
numDisjoint
public int numDisjoint()- Specified by:
numDisjointin classPattern
-
getDisjoint
- Specified by:
getDisjointin classPattern
-
alwaysTrue
public boolean alwaysTrue()- Specified by:
alwaysTruein classPattern
-
alwaysFalse
public boolean alwaysFalse()- Specified by:
alwaysFalsein classPattern
-
alwaysInstructionTrue
public boolean alwaysInstructionTrue()- Specified by:
alwaysInstructionTruein classPattern
-
decode
- Specified by:
decodein classPattern- Throws:
DecoderException
-