dotNetMemoryScan icon indicating copy to clipboard operation
dotNetMemoryScan copied to clipboard

Add start_address, end_address and stop_at_first parameters

Open bosshunter opened this issue 3 years ago • 0 comments

Not an issue, but a feature request.

Adding these parameters would reduce the scan time significantly, if used accordingly.

find_aob.scan_all(Process p, string pattern, ulong start_address, ulong end_address, bool stop_at_first);

ulong start_address= Specifies the start address for the AoB scan. ulong end_address= Specifies the end address for the AoB scan. If 0 then it would use the max address. bool stop_at_first = If true - stops the AoB scan when the first match is found and returns it. If false - scans through all memory range and returns all matches found.

Example: var find_ptr = find_aob.scan_all("text.exe", "83 05 ?? ?? ?? ?? 0A A1", 0x20000000UL, 0, true);

bosshunter avatar Sep 15 '21 09:09 bosshunter