Aug 19 2016
I'm thinking of doing the following approach regarding the plugin implementation:
Start writing a new plugin "from scratch", which will be inspired strongly by ProcessWinMiniDump and also borrowing stuff from ProcessElfCore.
Also my plan is to make a single cross-platform Minidump plugin. At least for now I think that there aren't so many differences between Minidumps
generated on different platforms. (If the code gets messy probably a separate plugin for each platform is better.)
Also I think that I could reuse the Windows Minidump tests by pointing them to the new plugin and see if we
have at least the same (working) functionality.
Adding sanity checks whether the data buffer
Aug 18 2016
Also FYI I copied the implementation of consumeObject to my header.
Are we putting this code in the right place? I wouldn't expect minidump parsing to fall under Plugins/Process.
I assume the eventual intent is to turn the Windows-specific code into a user of your new code? I look forward to seeing that happen.
Update of the code, regarding the remarks
Aug 16 2016
Fixing a little bug - should get the byteorder
Resolving Pavel's remarks
Jul 29 2016
Jul 28 2016
Checking for null pointer, in case of a corrupt core file
Jul 22 2016
So, alignas doesn't work with typedef
We can use a #define but that's kind of ugly
Jul 21 2016
Forgot to add alignas to two members of prstatus