pub fn scan_pattern(
start: usize,
size: usize,
pattern: &[u8],
mask: &str,
) -> Result<Vec<usize>, ScanError>Expand description
Scans for a pattern within a memory range, returning all matches
§Arguments
start- The start address of the scansize- The size of the memory range to scanpattern- The byte sequence to findmask- The mask string (‘x’ for match, ‘?’ for wildcard)
§Returns
Result<Vec<usize>, ScanError>- A list of addresses where the pattern matches