Quality of Life Features
For your convenience, libdebug offers a few functions that will speed up your debugging process.
Pretty Printing
Visualizing the state of the process you are debugging can be a daunting task. libdebug offers utilities to print registers, memory maps, syscalls, and more in a human-readable format and with color highlighting.
Symbol Resolution
libdebug can resolve symbols in the binary and shared libraries. With big binaries, this can be a computationally intensive, especially if your script needs to be run multiple types. You can set symbol resolution levels and specify where to look for symbols according to your needs.
Memory Maps
libdebug offers utilities to retrieve the memory maps of a process. This can be useful to understand the memory layout of the process you are debugging.
Stack Frame Utils
libdebug offers utilities to resolve the return addresses of a process.
Evasion of Anti-Debugging
libdebug offers a few functions that will help you evade simple anti-debugging techniques. These functions can be used to bypass checks for the presence of a debugger.