commit | ce30f6cdd825ef6fe05a9795749c1ba31a859084 | [log] [tgz] |
---|---|---|
author | Abhinav Anil Sharma <sharmaabhinav@google.com> | Wed Nov 09 04:42:19 2022 |
committer | Abhinav Anil Sharma <sharmaabhinav@google.com> | Wed Nov 09 04:42:19 2022 |
tree | 83c5f70da447f8729036274369e252ea642f1cd8 | |
parent | a0babe77e114edde4d69963a619404501ae51959 [diff] |
Convert reader_t and file_reader_t into templates. This allows us to remove the second template parameter to analyzer_t, which can now be expressed in terms of the first one. However, we now have to duplicate some code in each implementation of file_reader_t so that we support a version returning memref_t and one returning trace_entry_t. This is because in C++ we cannot have partial specialization of member functions of a template class. The other option is to create a separate sub-class for each implementation of file_reader_t.
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/