-
Notifications
You must be signed in to change notification settings - Fork 476
Compiling strace as a library #70
Description
Hey everyone. As part of another project I needed to enhance the rr debugger to output system call information in strace's format as the application under debug was executing. I hacked together something that got the job done by compiling strace into a static library and directly calling the entry and exit decode/trace/finish functions after setting the required state. I had to to supply a my own umoven() and umovestr() as well. Is this a feature for which there might be an audience if it could be put together in a clean enough fashion? I likely won't have the time to do the required reorganization to make things publishable but I would be glad to help out if someone thinks this is interesting enough to take on.
Either way, the project has my appreciation for maintaining a codebase that is easy to understand and work with.