Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

honor DYNAMORIO_AUTOINJECT on linux #287

Open
derekbruening opened this issue Nov 27, 2014 · 0 comments
Open

honor DYNAMORIO_AUTOINJECT on linux #287

derekbruening opened this issue Nov 27, 2014 · 0 comments

Comments

@derekbruening
Copy link
Contributor

From derek.br...@gmail.com on April 10, 2010 21:40:20

with issue #85 we'll have configuration files on linux mirroring the
Windows scheme

for now we're still putting both libdrpreload.so and libdynamorio.so in
LD_PRELOAD, but we want to honor DYNAMORIO_AUTOINJECT by only putting
libdrpreload.so in LD_PRELOAD and having it load the libdynamorio.so
specified by DYNAMORIO_AUTOINJECT: allowing for more flexibility in which
DR version is used where.

to get the app name preload.c today calls DR's get_application_short_name()
which reads from /proc/self/cmdline. we'll need to either pull in all the
needed code or use another method to get the name like locating the argv
array on the stack.

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant