-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Linux mode mem dumps do not contain all physical memory #219
Comments
Sounds good - let me know if you need any help! Cheers |
I've been dealing with this issue a lot recently, so I've actually already implemented a fix for this. @jasocrow figured I'd run my approach by you first just to get your thoughts: instead of calling Either way I'm not a massive fan of A better solution imo would be to implement a memory dump parser that handles ELF files, instead of using Windows memory dumps for Linux mode. |
@anvbis Seems like a decent approach to me. Thanks for taking a stab at it. |
I plan to submit a PR for this at some point, but not sure when I'll be able to get it out.
You can see via the output below that the physical memory range for the target VM is from
0
to0x1bfffffff
. However, the Linux mode mem dump code only saves from0
to0xffffffff
.When dumping mem via
pmemsave
,pmemsave
has a size limitation, only allowing a max size of0xffffffff
. So fixing the issue requires callingpmemsave
multiple times.This issue can cause inexplicable page faults, e.g.,
The text was updated successfully, but these errors were encountered: