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

Add support for loading raw VMWare snapshots #202

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ea
Copy link

@ea ea commented May 6, 2024

These patches simply add support for loading VMWare snapshots which are raw, linear, RAM dumps.

The change in the kdump parsers is simple, if the initial parsing fails, it opportunistically tries to load the file as a raw dump, else it continues into parsing different usual kdumps types.

The second part of the patch has to do with actually loading these where I had to relax a few warnings or errors, as there's no point in trying to enable a debugger on raw memory dumps.

To build the project with support for loading these VMWare dumps, there's a new build-release-vmware-support.bat script that enables the flags that relax the warnings.

I'll have a macOS/fuzzer target and an example workflow in a separate repository.

ea added 2 commits May 6, 2024 18:14
A debugger won't work for vmware dumps, so just warn in that case and
continue on.

Additionally, there's some sort of discrepancy with cpu state between
dumps from hyper-v and from vmware. Ignoring these didn't result in
anything horrible, so warn on it but continue.
@0vercl0k
Copy link
Owner

Woot that's awesome!

As I have mentioned in private messages, give me some time to try to figure out what's the best way to do this that is shippable 🫡

Cheers

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

Successfully merging this pull request may close these issues.

2 participants