Crate bmatcher_core

Crate bmatcher_core 

Source

Modules§

compiler

Structs§

BinaryMatcher
The BinaryMatcher is responsible for searching a BinaryPattern within a MatchTarget.
GenericBinaryPattern
A flexible implementation of the BinaryPattern interface supporting both borrowed and owned data.
HeapStack
StaticStack

Enums§

Atom
An atom represents a single operation that the matcher should perform.
JumpType
MatchHint
Hinting where the pattern might be matching the target
ReadWidth

Traits§

BinaryPattern
A binary pattern is a structure used in matching processes and consists of two main components:
MatchTarget
A trait for targets that can be matched against a binary pattern.
Stack

Functions§

execute
Match a target against a binary pattern with a statically allocated stack. The default stack size is 0x10 for the save and cursor stack.
execute_with_stack
Match a target against a binary pattern and supply the save and cursor stacks on your own