Skip to main content

Module scan

Module scan 

Source
Expand description

Cheat Engine-style value scanning: a first scan over all matching memory, then any number of next scans that narrow the candidates by comparing against their previous values.

Structs§

MapModule
A module as recorded in a PointerMap.
Match
One scan result: an address and the value it had at the last scan.
ParsePatternError
ParseValueError
Pattern
A byte pattern with wildcards, written IDA-style: 48 8b ?? ?? 89 05.
PatternOptions
PointerMap
A snapshot of every pointer in a process: aligned pointer-sized values in scanned memory that point into a readable region, with where each is stored.
PointerMapOptions
PointerPath
A pointer path: [[module+module_offset]+offsets[0]]+...+offsets[n-1].
PointerScanOptions
Progress
Shared progress and cancellation for a running scan, safe to poll from another thread.
Scan
The state of a scan between steps.
ScanOptions

Enums§

Compare
How a value is tested against the scan’s value, or against its own previous value.
Value
ValueType
The type of value a scan looks for. Values are read in the target’s native byte order, which is assumed to match ours.

Functions§

filter_pointers
Keeps the paths that currently resolve to target, e.g. after the process restarted and the value was found again at a new address.
find_pattern
Finds every address where pattern occurs in readable memory, in address order.
scan_pointers
Builds a pointer map of handle and scans it for paths to target, shortest first.