Getting a memory dump.

65 views
Skip to first unread message

Abhishek Vasisht

unread,
Apr 13, 2016, 10:51:10 AM4/13/16
to Android emulator development
Hi guys,

Trying to write a wrapper to get a memory dump of a process with a virtual address and a range. What function/API should I use for this purpose on the from QEMU (Android-emulator)?

I have used a ton of stuff but somehow I'm unable to dump a large number of pages from the RAM :\ .Tried implementing the `memsave` function from the original QEMU source code, also not working. Is there a better way/API to access the guest android memory from a guest virtual address?

Thanks a lot.

David Turner

unread,
Apr 13, 2016, 5:21:08 PM4/13/16
to Abhishek Vasisht, Android emulator development
That's not the kind of stuff we actually plan to implement or support. I'm afraid you will have to look at the sources and hack them on your own to do this kind of thing. Especially if you want to isolate the memory of a single guest process (you'll need a way to map a vCPU state to a specific guest process information). You may have better luck implementing a root service in the system image to do that.
 
Thanks a lot.

--
You received this message because you are subscribed to the Google Groups "Android emulator development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-emulator...@googlegroups.com.
To post to this group, send email to android-em...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-emulator-dev.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages