commit | e8fc651f485f858127bf2394defc382d5cdff641 | [log] [tgz] |
---|---|---|
author | Abhinav Anil Sharma <sharmaabhinav@google.com> | Thu May 27 18:44:47 2021 |
committer | GitHub <noreply@github.com> | Thu May 27 18:44:47 2021 |
tree | b2f0ea75cde2965a64e66502e267237bd144c1ec | |
parent | ed1582e1f08d998beb1d0e564df842ea49cb7550 [diff] |
i#3823 multi-phase drreg: Delay slot id label (#4925) Moves label that contains slot id for register spill/restore instrs to after the instr instead of before. The free spill slot selection logic that makes use of these labels scans instrs after the given one, so we may miss the label if it is placed before. Fixes order of app val spill and tool val restore instrs after an instr that reads and writes a spilled reg. This was to take into account the label which is now after the tool val restore instr. Adds test to verify restoration of reg that was reserved in multiple phases on a fault, for X86 and AARCHXX. Also adds AARCHXX variant of the multi-phase slot conflict test, and extends it to also check proper restoration of app val (under normal operation, as opposed to under a fault which is done by the above test). The existing test only verified whether the slot used in different phases is different. Sets a new signal handler for the part of drreg-test that doesn't expect any signal. It adds a log message in case a signal is seen due to some test failure. Adds a note to the label instrs added by drreg-test to mark instrumentation locations. This is to avoid conflicts with other label instrs. Issue: #3823, #2985
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.
DynamoRIO is the basis for some well-known external tools:
Tools built on DynamoRIO and available in the 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 primarily 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/