DynamoRIO / DynamoRIO/dynamorio

drreg should not lazily restore a reg in a DR TLS slot across an app instr

Open
#1,963 0 comments 0 reactions 0 assignees View on GitHub
Component-Extension Hotlist-Release
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

drreg uses DR's TLS slots once it runs out of the N slots that the client
requested in drreg_init(). However, while the drreg docs mention that DR
slots are not safe across app instrs, drreg itself goes ahead and does its
lazy restore optimization across app instrs regardless of whether in a DR slot.

A separate question is whether drreg should let a client hold a
reservation across an app instr if it's in a DR slot?

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.