LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   gdb and memory map (https://www.linuxquestions.org/questions/linux-security-4/gdb-and-memory-map-803230/)

itz2000 04-21-2010 03:53 AM

gdb and memory map
 
is there a way to get GDB to dump memory map so I can see if certain parts of the memory is executable or not (i.e : if heap/stack is executable).

Do you know of a way to do this within GDB session?

Thanks


EDIT : Solved. Just didn't use gdb, and did instead :
cat /proc/$PID/maps

Cheers. if anyone got a way of doing it within a GDB, feel free to post it here :) Thanks.

win32sux 04-21-2010 10:08 PM

Marked as solved and removed from zero reply.


All times are GMT -5. The time now is 11:34 AM.