Expand description
Fast pattern and signature scanning for byte slices.
Scan byte slices for patterns using IDA-style signatures or code-style byte/mask pairs. Patterns with an exact byte prefix use a fast-path filter that narrows candidates before verifying the full pattern.
§Example
use procmod_scan::Pattern;
let pattern = Pattern::from_ida("48 8B ? 89").unwrap();
let data = b"\x00\x48\x8B\xFF\x89\x00";
assert_eq!(pattern.scan_first(data), Some(1));Structs§
- Pattern
- A byte pattern used for scanning memory regions.
Enums§
Type Aliases§
- Result
- The result type for procmod-scan operations.