crash-utility / crash

Linux kernel crash utility
https://crash-utility.github.io
819 stars 271 forks source link

vmware_guestdump: Various format versions support #173

Closed YustasSwamp closed 7 months ago

YustasSwamp commented 7 months ago

There are several versions of debug.guest format. Current version of the code is able to parse only version 4.

Improve parser to support other known versions. Split data structures on sub-structures and introduce a helper functions to calculate a gap between them based on the version number. Implement additional data structure (struct mainmeminfo_old) and logic specifically for original (version 1) format support.