strace tips for better debugging
Recently, I have been building software without libc to better understand Linux syscalls and internals better. So far, I have built a minimal shell, terminal Snake game, pure ARM64 assembly HTTP server and threads implementation. I have been using strace extensively while debugging.
Useful options and flags
I use a version of the following command:
strace -fintrCDTYyy -o strace.log -v -s128 ./binary
This looks like an alphabet soup of options! Here’s what they do and how they are useful:
-f: Fol...
Read more at rrampage.github.io