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
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
void
getDisjoint
(int i) boolean
isMatch
(ParserWalker walker, SleighDebugLogger debug) int
void
shiftInstruction
(int sa)
-
Constructor Details
-
OrPattern
public OrPattern() -
OrPattern
-
OrPattern
-
-
Method Details
-
simplifyClone
- Specified by:
simplifyClone
in classPattern
-
shiftInstruction
public void shiftInstruction(int sa) - Specified by:
shiftInstruction
in classPattern
-
doOr
-
doAnd
-
isMatch
- Specified by:
isMatch
in classPattern
- Throws:
MemoryAccessException
-
numDisjoint
public int numDisjoint()- Specified by:
numDisjoint
in classPattern
-
getDisjoint
- Specified by:
getDisjoint
in classPattern
-
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
-
decode
- Specified by:
decode
in classPattern
- Throws:
DecoderException
-