Skip to content

pyda-attach depends on HOME #64

Description

@ndrewh

DynamoRIO apparently writes to some HOME-relative file when attaching to a process. This file must be accessible both by the process you're attaching to and the pyda-attach call. This unwritten requirement, combined with the fact that you need CAP_SYS_PTRACE to attach to another process, makes it very prone to errors (e.g. you may try running pyda-attach as sudo, but that also affects HOME)

At a minimum, we should patch DynamoRIO to at least print a proper error message in this case...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghas-workaroundbug with a usable workaround

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions