Understanding the Working Principle of GDB in 4 Diagrams

Understanding the Working Principle of GDB in 4 Diagrams

Hello everyone, this is IoT Heart. GDB is a debugging tool frequently used by Linux developers, and I believe most readers are familiar with using the gdb command to debug programs. So, are you curious:Why can gdb debug our programs? In this article, we will explore this.1. What is GDB? GDB is a debugger for … Read more

Implementing Anti-Debugging on Android Using Linux Signal Mechanism (SIGTRAP)

Implementing Anti-Debugging on Android Using Linux Signal Mechanism (SIGTRAP)

Copyright belongs to the author. If reposting, please indicate the source: https://cyrus-studio.github.io/blog/ Using SIGTRAP to Detect Debuggers In Linux process management, signals are the core mechanism for communication between the debugger and the debugged process. Operations such as breakpoints, single-step execution, and process suspension and resumption rely on the transmission of specific signals. Among these, … Read more

Implementing Anti-Debugging in Android Using Linux Signal Mechanism (SIGTRAP)

Implementing Anti-Debugging in Android Using Linux Signal Mechanism (SIGTRAP)

Copyright belongs to the author. If reprinted, please indicate the source: https://cyrus-studio.github.io/blog/ Using SIGTRAP to Detect Debuggers In the process management of Linux, signals are the core mechanism for communication between the debugger and the debugged process. Operations such as breakpoints, single-step execution, and process suspension and resumption all rely on the transmission of specific … Read more