TheDocumentation Index
Fetch the complete documentation index at: https://vulhunt-docs.binarly.io/llms.txt
Use this file to discover all available pages before exploring further.
PatternMatcher object is used to define and match patterns in binary code, typically for identifying instruction sequences.
Functions
| Function | Description | Parameters | Return Type |
|---|---|---|---|
new | Constructs a new pattern matcher. The pattern consists of instruction bytes separated by spaces. A dot (.) may be used as a wildcard representing any nibble (half-byte) | string | PatternMatcher |
Reference
new
Constructs a new pattern matcher from a pattern string. Patterns are whitespace-separated tokens where each token is either:- Two hexadecimal characters (
AA,A.,.A,..)..wildcards a nibble, so..matches any byte,.Fmatches any low nibble ending inF, etc. - An 8-bit binary literal (
0101.1..)..wildcards a single bit, allowing sub-byte precision.