Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The TLDR summary here is that the compiler allows you to hook into ("instrument") function calls and run custom logic of your choosing on function enter/leave. From that point on, you could use that mechanism to log how your program executes ("tracing").


Thanks, the overall logic is somewhat clear to me but I'd like to understand Justine's work a bit more in depth (like https://justine.lol/cosmopolitan/) but I don't know where to start. Just reading the code or the tutorial requires some background knowledge I don't think I have.


Justine here. We recently started a Discord chatroom https://discord.gg/WH25psU9 for Redbean / Cosmopolitan Libc / etc. You're invited to join us! You're free to ask myself and others for help on using / understanding Cosmopolitan Libc in this chatroom. You can also just come to hang out and meet the authors.


Thanks Justine that's really cool! I'll def check it out




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

Search: