Get the latest tech news
"Unstripping" binaries: Restoring debugging information in GDB with Pwndbg
By Jason An GDB loses significant functionality when debugging binaries that lack debugging symbols (also known as “stripped binaries”). Function and variable names become meaningless addresses; se…
That’s why this summer at Trail of Bits, I extended Pwndbg —a plugin for GDB maintained by my mentor, Dominik Czarnota —with two new features to bring the stripped debugging experience closer to what you’d expect from a debugger in an IDE. A common pain point when debugging executables compiled from non-C programming languages (and sometimes even C) is that they tend to have complex memory layouts that make it hard to dump values. Using the Go compiler’s source code as a reference, I implemented dumping for all of Go’s built-in types, including integers, strings, complex numbers, pointers, slices, arrays, and maps.
Or read this on Hacker News