Skip to content

Compiling strace as a library #70

@pkmoore

Description

@pkmoore

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions