DynamoRIO / DynamoRIO/dynamorio

handle execve of a #! script

Open
#2,091 3 comments 0 reactions 1 assignee Claimed by @egrimley View on GitHub
help wanted Hotlist-Release OpSys-Linux Usability
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

For late injection I would expect things to mostly work. However, this is
not something that we have spent any time on, and we have no tests of it,
so there may well be something that is not quite right such as when looking
up child config vars or when trying to handle cross-arch (i.e., 32-bit app
execs 64-bit child) due to failing to get the proper final ELF binary.

For early injection, however, I would expect DR to actually need to parse
the magic comment for correct execution of the proper binary, b/c it passes
the app path to itself on the other side. This will be a pain b/c it can
recurse up to 4 times through other scripts.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.