GDB Debugging Method (10) – Core Dump

GDB Debugging Method (10) - Core Dump

Technical experience sharing, welcome to follow and provide guidance In the process of system development, the version deployed on the device is usually the release version, which generally does not contain debugging information. When issues arise, how do we troubleshoot? In fact, Linux provides the core dump feature, which generates a core file when a … Read more

GDB Debugging Method (9) – Printing Linked Lists

GDB Debugging Method (9) - Printing Linked Lists

When debugging issues, it is common to encounter linked lists, and manually calculating and filling in linked lists with GDB can be quite cumbersome. However, pwndbg provides a very useful command called telescope that helps us automatically parse linked lists. Conditions for Printing Linked Lists with Telescope When programmers design linked lists, the structures can … Read more

GDB Debugging Methods (8) – Pwndbg

GDB Debugging Methods (8) - Pwndbg

After using GDB for a while, you may find that some features, such as viewing stack layouts, are not very convenient to use directly with GDB. However, the core issues of operating systems often lie in memory management. For example, printing a doubly linked list is not easy to handle with GDB alone. So, is … Read more