Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How to view the memory map of a running process?

Writer 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?

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy