DynamoRIO / DynamoRIO/dynamorio

drreg should provide a full aflags barrier including flags-in-xax

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

Description

The drreg routines that get spilled values back into app registers are supposed to double as "barriers" for lazy restoration, helping to support clients that insert internal control flow. However, drreg_restore_app_aflags() only puts the flags into the eflags register and does not restore the app's xax register on x86. This issue is a feature request to provide a full barrier routine for the flags. For now a client can also call drreg_get_app_value() on xax as a workaround.

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.