I've found mentions of MEMORY_BASIC_INFORMATION in the documentation at readthedocs, but I can't find anything related to virtual_query() that uses it. This function could be useful in terms of narrowing down the address ranges that need to be scanned. Narrowing things down to a single module helps, but it can be improved further, for example, you might want to skip anything that has execution flag if you are looking for data.
As such, it'd be nice to have pymem.memory.virtual_query() documented as part of pymem's official API.
I've found mentions of MEMORY_BASIC_INFORMATION in the documentation at readthedocs, but I can't find anything related to virtual_query() that uses it. This function could be useful in terms of narrowing down the address ranges that need to be scanned. Narrowing things down to a single module helps, but it can be improved further, for example, you might want to skip anything that has execution flag if you are looking for data.
As such, it'd be nice to have pymem.memory.virtual_query() documented as part of pymem's official API.