DynamoRIO / DynamoRIO/dynamorio

drbbdup fails to restore state for its register spills

Open
#5,686 5 comments 0 reactions 1 assignee Claimed by @derekbruening View on GitHub
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

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.