Dynamic Instrumentation Tool Platform
Clone or download
derekbruening i#3327: compute reuse distance separately per thread (#3345)
Changes the reuse_distance and reuse_time tools to operate on each
thread separately, and to then aggregate the final results across the
threads.

Implements the new parallel analysis interface to perform these
computations in parallel, which reduces the substantial additional
overhead of per-thread computation.

Adds a new checked-in offline multi-threaded (x64-only) trace and adds
reuse_distance and reuse_time tests using it.

Updates the documentation's sample reuse_distance and reuse_time
output.

Fixes #3327
Latest commit f9dc5f5 Jan 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api i#3230 split traces: add parallel trace analysis support (#3321) Jan 4, 2019
clients i#3327: compute reuse distance separately per thread (#3345) Jan 15, 2019
core i#1870: Support ordinal forwarders (#3221) Jan 14, 2019
ext i#2941 recreate_app_state spill/restore: robustly recognize non-publi… Dec 15, 2018
libutil Cleanup: simplify libutil/ include dirs (#3292) Dec 6, 2018
make i#3278 windows file path: temporarily strip dot/slash in path (#3279) Nov 20, 2018
suite i#3327: compute reuse distance separately per thread (#3345) Jan 15, 2019
third_party i#2601: fix thread exit race on attach (#2605) Nov 6, 2017
tools i#1557 cmake LOCATION: use output dirs for remaining instances, CMP00… Nov 8, 2018
.appveyor.yml Update Appveyor WinFig version (#3153) Aug 29, 2018
.clang-format i#2876 clang-format: massive reformat of every file (#3093) Jul 8, 2018
.travis.yml i#3031 travis emails: send to devs list (again) (#3343) Jan 14, 2019
ACKNOWLEDGEMENTS Add new contributor to acknowledgements (#2215) Feb 23, 2017
CMakeLists.txt i#3230 split traces: parallelize raw2trace (#3298) Dec 7, 2018
CONTRIBUTING.md Update docs to reflect removal of CLA requirement (#2669) Oct 27, 2017
CTestConfig.cmake Code cleanup: remove trailing spaces and tabs Feb 21, 2014
License.txt Update License and README copyright dates. Aug 9, 2014
README i#1569 AArch64: update ISA references throughout the docs Feb 3, 2017
README.md Add tool list to top-level docs page (#2743) Dec 6, 2017

README.md

DynamoRIO

DynamoRIO logo

About DynamoRIO

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.

Existing DynamoRIO-based tools

Tools built on DynamoRIO and provided in our release package include:

  • The memory debugging tool Dr. Memory
  • The multi-process cache simulator and memory address trace collection and analysis platform drcachesim
  • The legacy processor emulator drcpusim
  • The "strace for Windows" tool drstrace
  • The code coverage tool drcov
  • The library tracing tool drltrace
  • The memory tracing tool memtrace
  • The basic block tracing tool bbbuf
  • The instruction counting tool inscount

Building your own custom tools

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.

Downloading DynamoRIO

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.

Obtaining Help

Use the discussion list to ask questions.

To report a bug, use the issue tracker.

See also the DynamoRIO home page: http://dynamorio.org/