Lexicon Entry
ptrace
A Unix system call that allows one process to observe and control the execution of another.
Related Knowledge & Cross-References
Guide
Build a Debugger from Scratch: Ultimate 3 OS Guide (Part 8)
Understanding the bridge between your code and the kernel is the final key to demystifying how software works. Up to this point in my Assembly Series, you've mastered how to load a process, how calling conventions manage functions, how memory is laid out, and finally, how to talk directly to the hardware via system calls.