-
Notifications
You must be signed in to change notification settings - Fork 163
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
Failing to parse QEMU memory dump note .shstrtab #370
Comments
interesting; @IridiumXOR would you be interested in working on a PR to fix this? :) |
Experiencing similar problem:
The interesting thing is that it appears that size and offset have their places swapped.
|
so while reading the PR for fixing this issue, it was revealed that the primary cause of this was that the full file was not being loaded into memory, so that parsing was out of bounds. Is this also the cause of your failure here in this issue? |
Hi,
if you generate an ELF core file containing the memory dump of VM in QEMU (
qemu-system-x86_64
than in consoledump-guest-memory FILENAME
) and you parse it with a simple Rust program asyou get
Err(Malformed("Section 1 size (151127112) + offset (11) is out of bounds. Overflowed: false"))
but the ELF core is correctly formatted. I suppose the error is a offset-by-one error.The text was updated successfully, but these errors were encountered: