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

handle execve of different-architecture child: 32 to 64, 64 to 32 #20

Closed
derekbruening opened this issue Nov 27, 2014 · 1 comment
Closed

Comments

@derekbruening
Copy link
Contributor

From [email protected] on February 16, 2009 17:42:26

we'll need to decide from the parent which lib32 vs lib64 to use

xref the analogue on Windows: PR 254193: [x64] inject into
different-architecture child: x64 to WOW64, WOW64 to x64

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

@derekbruening
Copy link
Contributor Author

From [email protected] on February 19, 2009 10:31:34

implemented in r47 :

  • on execve we read target file to see whether 32 or 64 and we adjust
    LD_LIBRARY_PATH appropriately: this all assumes we're installed in
    lib32/ and lib64/ with that string nowhere else on the path
  • changed linux/execve test to run two tests: one with 32-bit
    linux/execve-sub (hello,world) and one with 64-bit.
    changed regression suite to build both 32 and 64 versions of DR
    before running tests.
  • fixed suite/tests/gen_expect.pl to only match whole word defines

Status: Verified

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