What is the difference between /dev/mem, /dev/kmem and /proc/kcore?
Can I disassemble its contents using tools like objdump and gdb?
/dev/kmem gives access to the kernel's virtual memory space, and /dev/mem gives access to physical memory.
/proc/kcore is a pseudofile in ELF core format, of the kernel's virtual memory space. You should be able to examine it with standard ELF utilities, like objdump and gdb - although you will likely better off to make a regular file copy of it and work on that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With