commit | d33ed98bdb4fb6661d2a594ac61b5e104cfc4e77 | [log] [tgz] |
---|---|---|
author | Hendrik Greving <hgreving@google.com> | Fri Sep 27 21:39:56 2019 |
committer | GitHub <noreply@github.com> | Fri Sep 27 21:39:56 2019 |
tree | a06005b5ba19ec43a972b0f40aa463bef3add41a | |
parent | 75b13f20c03f0c51624f8a21b6495b3a5ace7d8f [diff] |
i#3850 private loader: Add a client library's rpath + runpath to search path. (#3854) This patch makes DynamoRIO's private loader add a client library's rpath + runpath to the global search path. This is considered a work around for issues stemming from the fact that currently, DynamoRIO's private loader is traversing library dependencies depth-first instead of breadth-first. From experiments it looks like the native Linux loader does the latter. This resulted in some cases where DynamoRIO's loader couldn't find libraries that can only be found by considering the client's rpath + runpath. In those cases, the C++ toolchain was adding multiple system dependencies to the client library including a valid rpath, but the system libraries itself did not reflect the same rpath. The drawback of this workaround is the unability to handle potential corner cases with libraries of the same name in different locations. Includes a fix for a latent bug that caused overrunning the rpath + runpath string if the path was a list. Issue: #3850
DynamoRIO is a runtime code manipulation system that supports code transformations on any part of a program, while it executes. DynamoRIO exports an interface for building dynamic tools for a wide variety of uses: program analysis and understanding, profiling, instrumentation, optimization, translation, etc. Unlike many dynamic tool systems, DynamoRIO is not limited to insertion of callouts/trampolines and allows arbitrary modifications to application instructions via a powerful IA-32/AMD64/ARM/AArch64 instruction manipulation library. DynamoRIO provides efficient, transparent, and comprehensive manipulation of unmodified applications running on stock operating systems (Windows, Linux, or Android) and commodity IA-32, AMD64, ARM, and AArch64 hardware. Mac OSX support is in progress.
Tools built on DynamoRIO and provided in our release package include:
DynamoRIO‘s powerful API abstracts away the details of the underlying infrastructure and allows the tool builder to concentrate on analyzing or modifying the application’s runtime code stream. API documentation is included in the release package and can also be browsed online. Slides from our past tutorials are also available.
DynamoRIO is available free of charge as a binary package for both Windows and Linux. DynamoRIO's source code is available under a BSD license.
Use the discussion list to ask questions.
To report a bug, use the issue tracker.
See also the DynamoRIO home page: http://dynamorio.org/