commit | 0ff54dd506758051a73a7d27c7a5330290dadfd0 | [log] [tgz] |
---|---|---|
author | qidongzhao <neuzqd@gmail.com> | Fri Jun 16 20:12:38 2023 |
committer | GitHub <noreply@github.com> | Fri Jun 16 20:12:38 2023 |
tree | 591eb8e55923afbbe7839412b1aaecbdca8e53be | |
parent | 0915bf381225e3dcd2aa9899087ccc94cbee79a7 [diff] |
i#5505 raw2trace: Upgrading raw2trace for processing kernel PT data (#6110) This update enhances raw2trace to decode kernel Processor Trace (PT) files and append the kernel trace to the output trace. - (1) Adds a new file type flag to indicate whether the output directory contains PT data. - (2) Upgrades raw2trace_directory to support managing kernel PT files. - (3) Enables PT raw data conversion into trace_entry_t instances using drpt2ir and drir2trace in raw2trace. - (4) Upgrades the basic_counts tool to support printing the number of userspace and kernel instructions. - (5) Refactors pt2ir_t to use a new static member variable to store images shared between all pt2ir_t instances. - (6) Fixes the memory leak issue on drpttracer. Issue: #5505
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/