How to view the memory map of a running process?
Matthew Barrera
I want to view the stack location of a running process. How can I view the memory map and find out the memory location of the stack using terminal without using any debuggers.
Context:
I am studying bufferoverflow attacks and prevention mechanisms that are used in operating systems. I need to learn how Ubuntu employs ASLR.
Thank you.
1 Answer
pmap will show memory map of a process and all associated processes running if you have the process ID. Perhaps that is what you want?