How to Debug binary

From HyperSecurity Wiki
Revision as of 03:43, 5 May 2025 by Srapaz (talk | contribs)
Jump to: navigation, search

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}