maniac
maniac copied to clipboard
Implement proper pattern scanning with wildcards
- ~~Support patterns like
FF ? ? 07 2A ? ? ? ? AC ABand always return the address at the beginning of the pattern, ie. the address of FF in the above example. (This is required for #43 and #44.)~~ - Support scanning for multiple patterns at once to avoid redunant reads. It's acceptable to assume that no two patterns overlap.
- Support multiple patterns/desired value to future-proof some more.
~~4. When getting memory chunks to read make sure they overlap by pattern_length - 1 to avoid missing patterns that span across two chunks.~~
Updated issue to account for the refactor in 918bdd0. 2. and 3. would still be nice but aren't particularly critical.