Memory Dump
Mannual process
It is possible to read application memory by executing the following commands given the application's PID:
The output is something like the following
the rows can contain different types of information depending on their access permissions:
r-xp: application code loaded in memory
rw-p: readable and writable memory area
r--p: read only memory area
To dump the actual contents of the memory area use gdb passing as parameters the output file and the address ranges (the first two row values printed by cat /proc/[pid]/maps)
gdb
dd
Last updated