Le-o-n / cython-virtual-memory-toolkit

The Cython Virtual Memory Toolkit is designed to provide Cython header files (*.pxd) for various functionalities, enabling Cython to interact with the virtual memory of a target process. This toolkit includes features for reading, writing, allocating, and freeing virtual memory.
MIT License
2 stars 0 forks source link

Allow aob scan to return ALL the found results #35

Open Le-o-n opened 3 weeks ago

Le-o-n commented 3 weeks ago

windows_defs.PrivilegedSearchMemoryBytes currently has a race condition to return one of the found addresses, currently this isn't an issue since the use case is for when there is only ever a single matching AOB anyway but could be improved in the future to have all addresses returned.

Specifically the AOB scan will return one of the matching addresses within the first block it encounters the match.