DynamoRIO / DynamoRIO/dynamorio
drbbdup fails to restore state for its register spills
Open
Bug-AppCrash
Component-DrMemtrace
Component-Extension
Google-Affecting
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
I'm hitting another issue with drbbdup when we try to use it by default for drmemtrace #2039: drbbdup spills one or two registers and possibly the flags for its dispatch logic, using custom spills (because its control flow doesn't mesh well with drreg). But it doesn't have a restore state event. So a detach or other asynch translation event will mess up the app register state. We are seeing crashes post-detach that we suspect are coming from this.
Contributor guide
Assessment
This issue has not been assessed yet.