Hacker News new | past | comments | ask | show | jobs | submit login
Write a toy strace and gdb (hondu.co)
157 points by FiloSottile on Dec 10, 2016 | hide | past | favorite | 6 comments



Thanks for this!

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...


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


python-ptrace [1] is a good place to start if you're playing around.

[1] http://python-ptrace.readthedocs.io/en/latest/


Awesome introductory example of `ptrace`. Thanks for sharing.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: