DynamoRIO / DynamoRIO/dynamorio
Use annotations to identify stopping points in the start/stop API
Open
Type-Feature
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
Today the start/stop API assumes the call to the stop point will be easily recognized as a control transfer to a separate PC for the callee. This breaks down for statically-linked DR with inlining (#3549) and also had trouble with static DR with bounds identification (#3387, though the incorrect DR bounds there likely caused other problems as well).
This issue proposes having the stop routines insert annotations and relying on DR's annotation identification to figure out when a stop routine is reached. This should be more robust and reliable than the current solution.
Contributor guide
Assessment
This issue has not been assessed yet.