Tag
ptrace
- Mar 12, 2024 How strace Sees Every System Call Without Linking Into the Program The ptrace stop protocol behind syscall tracing, how entry and exit are paired from register state, and why tracing multiplies the cost of a syscall-heavy workload. systems programming
- Nov 26, 2023 Software Breakpoints: Replacing an Instruction with a Trap Byte How a debugger turns a source line into a one-byte code patch, why the program counter has to be rewound, and what the patch cannot do in shared or generated code. developer tools
- Sep 7, 2023 ptrace and the Stop-Notify Model Behind a Debugger Attaching is a signal, every stop must be answered, and the same SIGTRAP means different things. How a tracer distinguishes the events it receives. developer tools