Class InstructionPattern
java.lang.Object
ghidra.app.plugin.processors.sleigh.pattern.Pattern
ghidra.app.plugin.processors.sleigh.pattern.DisjointPattern
ghidra.app.plugin.processors.sleigh.pattern.InstructionPattern
Matches against the actual instruction bit stream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
void
getBlock()
getBlock
(boolean context) boolean
isMatch
(ParserWalker walker, SleighDebugLogger debug) void
shiftInstruction
(int sa) toString()
Methods inherited from class ghidra.app.plugin.processors.sleigh.pattern.DisjointPattern
decodeDisjoint, getContextBlock, getDisjoint, getInstructionBlock, getLength, getMask, getValue, getWholeInstructionBytes, identical, numDisjoint, specializes
-
Constructor Details
-
InstructionPattern
public InstructionPattern() -
InstructionPattern
-
InstructionPattern
public InstructionPattern(boolean tf)
-
-
Method Details
-
getBlock
- Specified by:
getBlock
in classDisjointPattern
-
getBlock
-
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
-
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
-
toString
-