Debuggers and Checkers
Date: 2023-02-25Last modified: 2023-03-16
Table of contents
Introduction
Debbugers
- GDB
- strace
Time travel
- rr
- LiveRecorder
Dynamic checkers
- valgrind
- sanitizers
Static checkers
- cppcheck
- coverity
Signal and ptrace
On receipt of signal:
- Terminate (potentially dumping core) Ignore
- Stop (Suspend)
- Run signal handler
- If ptraced - stop (tracing stop)
Tracer gets complete control of what signals hit the tracee