GDB resource
1. Very good for exploit writer: https://www.exploit-db.com/papers/13205/
2. Get info about memory:
(gdb) help info proc
Show /proc process information about any running process.
Specify any process id, or use the program being debugged by default.
Specify any of the following keywords for detailed info:
mappings -- list of mapped memory regions.
stat -- list a bunch of random process info.
status -- list a different bunch of random process info.
all -- list all available /proc info.
3. Show where in the source file we are
(gdb) list
2. Get info about memory:
(gdb) help info proc
Show /proc process information about any running process.
Specify any process id, or use the program being debugged by default.
Specify any of the following keywords for detailed info:
mappings -- list of mapped memory regions.
stat -- list a bunch of random process info.
status -- list a different bunch of random process info.
all -- list all available /proc info.
3. Show where in the source file we are
(gdb) list
Comments
Post a Comment