View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-21-2010, 04:53 AM   #1
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
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?


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.

Last edited by itz2000; 04-21-2010 at 05:31 AM.
Old 04-21-2010, 11:08 PM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Marked as solved and removed from zero reply.


gdb, map, memory

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Virtual memory mapping to Board memory map !rajkums! Linux - Kernel 4 10-19-2008 01:27 PM
Kernel virtual memory map TO Board memory map -----> Mapping !rajkums! Linux - Embedded & Single-board computer 0 10-18-2008 10:21 AM
examine memory with gdb Ephracis Programming 2 05-31-2005 07:30 AM
Can you use GDB to alter memory? tim_l Linux - Software 0 02-25-2005 06:19 AM

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration