Description
I tried using your code (in the master branch, and in the writer branch also). Seems like the logic for writing minidump files doesn't work as expected. Loading the resulting file in windbg.exe produces many errors.
Some errors are because the _MINIDUMP_TYPE Flags
are not set accordingly (WithFullMemory
and WithFullMemoryInfo
and such).
After fixing that up windbg did not seem to recognise the Memory64ListStream
stream because its size was invalid (apparently windbg expects the Size
of that directory to be 0x10 * (NumberOfMemoryRanges + 1)
).
After fixing that up windbg spits out this message:
?:???> db 00007ff7`ab3c0000
WARNING: The debugger does not have a current process or thread
WARNING: Many commands will not work
^ Illegal thread error in db 00007ff7`ab3c0000
For practically every command. I think adding thread info (just the basics probably) will make it work.
Looking for your input on this matter. I think getting this functionality working could help many people.