commit | 2e1d96beca1561073eeab7a4e9a10e26eea6c1db | [log] [tgz] |
---|---|---|
author | Jack Gallagher <jack.gallagher@arm.com> | Fri Jun 28 08:27:06 2024 |
committer | GitHub <noreply@github.com> | Fri Jun 28 08:27:06 2024 |
tree | 14ab6a9019494d0215c30b6ceb72ce96d0482fcf | |
parent | 1b5bb4222285a16f1e5812e63069c342f14aa186 [diff] |
i#5623 AArch64: Improve PAUTH transparency (#6856) Previously direct/indirect branches with pointer authentication would be mangled to strip the pointer authentication code from the address using an xpaci instruction. This means that code that might fail when running natively (because the pointer authentication doesn't pass) could succeed under DynamoRIO because the pointer was not being authenticated. This commit changes the mangling code to use auti* instructions to authenticate the pointer instead, and adds tests to check that it behaves correctly for all the branch and authenticate instructions. Issue: #5623 Fixes: #5623 Co-authored-by: Phil Ramsey <phil.ramsey@arm.com>
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/