Difference between revisions of "How to Debug binary"
(Created page with "== Installing gbd== apt install gdb == Debugging == gdb --args {binary} == gbd Commands == gdb = general debugging of binary bt = backtrace") |
|||
Line 8: | Line 8: | ||
gdb = general debugging of binary | gdb = general debugging of binary | ||
bt = backtrace | bt = backtrace | ||
+ | |||
+ | == Installing Valgrind == | ||
+ | apt install valgrind | ||
+ | |||
+ | == Valgrind Commands == | ||
+ | valgrind {binary} |
Revision as of 03:43, 5 May 2025
Installing gbd
apt install gdb
Debugging
gdb --args {binary}
gbd Commands
gdb = general debugging of binary bt = backtrace
Installing Valgrind
apt install valgrind
Valgrind Commands
valgrind {binary}