Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On windows memory_maps() does not return anonymous maps #852

Open
scudette opened this issue Jul 2, 2016 · 1 comment
Open

On windows memory_maps() does not return anonymous maps #852

scudette opened this issue Jul 2, 2016 · 1 comment

Comments

@scudette
Copy link

scudette commented Jul 2, 2016

The code here:

if (GetMappedFileNameA(hProcess, baseAddress, mappedFileName,

Skips the result if it has no filename. This skips anonymous mappings (like heap and VirtualAlloc regions). This behaviour is not consistent with psutil on linux which includes anonymous regions:

path = '[anon]'

It would be nice to get the anonymous regions too on windows.

@giampaolo
Copy link
Owner

Would you like to provide a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants