Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Gdb"

From NetSec
Jump to: navigation, search
Line 1: Line 1:
 
GDB is a [[bash]] debugger for [[ELF]] binaries.
 
GDB is a [[bash]] debugger for [[ELF]] binaries.
 +
 +
It is a powerful tool to disassemble and view the memory of process, files and core dumps.
 +
 +
bt
 +
i r
 +
frame {1..10}
 +
list +
 +
list -
 +
list
 +
print <variable>
 +
x/200x <variable>
 +
x/200x $rip-50
 +
x/200c $rip
 +
x/200bx whatever
 +
info variables
  
 
{{expand}}
 
{{expand}}
 
[[Category:Reverse Engineering]]
 
[[Category:Reverse Engineering]]

Revision as of 17:24, 28 August 2015

GDB is a bash debugger for ELF binaries.

It is a powerful tool to disassemble and view the memory of process, files and core dumps.

bt i r frame {1..10} list + list - list print <variable> x/200x <variable> x/200x $rip-50 x/200c $rip x/200bx whatever info variables

This article contains too little information, it should be expanded or updated.
Things you can do to help:
  • add more content.
  • update current content.