{"action":"opened","issue":{"url":"https://api.github.com/repos/strace/strace/issues/70","repository_url":"https://api.github.com/repos/strace/strace","labels_url":"https://api.github.com/repos/strace/strace/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/strace/strace/issues/70/comments","events_url":"https://api.github.com/repos/strace/strace/issues/70/events","html_url":"https://github.com/strace/strace/issues/70","id":326874470,"number":70,"title":"Compiling strace as Library","user":{"login":"pkmoore","id":3318351,"avatar_url":"https://avatars1.githubusercontent.com/u/3318351?v=4","gravatar_id":"","url":"https://api.github.com/users/pkmoore","html_url":"https://github.com/pkmoore","followers_url":"https://api.github.com/users/pkmoore/followers","following_url":"https://api.github.com/users/pkmoore/following{/other_user}","gists_url":"https://api.github.com/users/pkmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/pkmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkmoore/subscriptions","organizations_url":"https://api.github.com/users/pkmoore/orgs","repos_url":"https://api.github.com/users/pkmoore/repos","events_url":"https://api.github.com/users/pkmoore/events{/privacy}","received_events_url":"https://api.github.com/users/pkmoore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-28T02:10:47Z","updated_at":"2018-05-28T02:10:47Z","closed_at":null,"author_association":"NONE","body":"Hey everyone.  As part of another project I needed to enhance the [rr](https://github.com/mozilla/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.  \r\n\r\nEither way, the project has my appreciation for maintaining a codebase that is easy to understand and work with.\r\n"}}
{"actor":{"display_login":"pkmoore"}}