Closed kweatherman closed 3 months ago
It's really nice to see that someone actually use this API. Less nice that there are bugs in it. I'll check it out in the weekend most probably to see if I can fix it.
I should be able to find this issue thanks to your excellent documentation.
Thanks,
Oh thanks to you. You put so many nice features it in. I'll eventually play with them all :-)
Thank you for reporting. There was a 16-byte 0x10 mis-match in the allocation sizing. Also this made smaller allocation (<16) bytes not being reported. Anyway this should now be resolved.
Let me know if you should find any remaining issues around this.
Relatively small issue once you see it, but the size/byte-count returned by
VMMDLL_Map_GetHeapAlloc()
viaVMMDLL_MAP_HEAPALLOCENTRY.cb
is down by 8 bytes from the actual heap allocation.Ran into a problem and did a side by side comparison using a console app that allocates very little (but still many allocations by the OS for the process).
Examples:
The Windows API console code (32bit process):
MemProcFS API code (64bit process):