Write a toy strace and gdb(hondu.co)
hondu.co
Write a toy strace and gdb
http://hondu.co/blog/write-a-strace-and-gdb
6 comments
I'm just partway through the syscalls post, but these are really well done! you've got a knack for technical explanations.
Glad you liked it!
I didn't know about those two blog posts, they are gold! Thanks a lot :)
You may also want to see how Paul Fox is implementing Dtrace for Linux [0]
[0] https://github.com/dtrace4linux/linux
[0] https://github.com/dtrace4linux/linux
python-ptrace [1] is a good place to start if you're playing around.
[1] http://python-ptrace.readthedocs.io/en/latest/
[1] http://python-ptrace.readthedocs.io/en/latest/
Awesome introductory example of `ptrace`. Thanks for sharing.
I recently wrote a deep dive in to both strace [1] and Linux system calls [2] which may be interesting to folks reading this great article.
[1]: https://blog.packagecloud.io/eng/2016/02/29/how-does-strace-...
[2]: https://blog.packagecloud.io/eng/2016/04/05/the-definitive-g...