DynamoRIO / DynamoRIO/dynamorio

Add interface for application register barriers inside the core

Open
#3,798 2 comments 0 reactions 0 assignees View on GitHub
Component-API Type-Feature
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

When the DR core performs certain "mangling" operations (application transformations required for core operation), it needs to read application register values. This can conflict with drreg and clients in general who may be storing app values in memory temporarily. This issue is asking for some kind of interface where the core can interact with drreg and clients to request a barrier where all values need to be in registers.

Today, for rseq (#2350), such a barrier is assumed to be in place at the start and end of blocks. drreg obeys that today. In the future we may want to support longer-range optimizations and trace optimizations, however.

This issue also covers documenting these implicit barriers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.