Class CombinedByteMatcher
java.lang.Object
ghidra.features.base.memsearch.matcher.ByteMatcher
ghidra.features.base.memsearch.matcher.CombinedByteMatcher
A ByteMatcher that searches an input sequence for matches from multiple patterns. This is
useful for using with the
MemorySearcher so that multiple patterns can be searched with
only one pass through memory, thus paying the memory I/O costs only once. The resulting matches
will contain the sub ByteMatcher that matched so that it is easy to know which of the multiple
patterns matched.-
Nested Class Summary
Nested classes/interfaces inherited from class ghidra.features.base.memsearch.matcher.ByteMatcher
ByteMatcher.ByteMatch -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a description of what this byte matcher matches.Returns additional information about this byte matcher.match(ExtendedByteSequence bytes) Returns anIterablefor returning matches within the given byte sequence.Methods inherited from class ghidra.features.base.memsearch.matcher.ByteMatcher
equals, getInput, getName, getSettings, hashCode, isValidInput, isValidSearch, toString
-
Constructor Details
-
CombinedByteMatcher
-
-
Method Details
-
match
Description copied from class:ByteMatcherReturns anIterablefor returning matches within the given byte sequence.- Specified by:
matchin classByteMatcher- Parameters:
bytes- the byte sequence to search- Returns:
- an iterable for return matches in the given sequence
-
getDescription
Description copied from class:ByteMatcherReturns a description of what this byte matcher matches. (Typically a sequence of bytes)- Specified by:
getDescriptionin classByteMatcher- Returns:
- a description of what this byte matcher matches
-
getToolTip
Description copied from class:ByteMatcherReturns additional information about this byte matcher. (Typically the mask bytes)- Specified by:
getToolTipin classByteMatcher- Returns:
- additional information about this byte matcher
-