DynamoRIO / DynamoRIO/dynamorio

Use auto-predication in drreg

Open
#2,585 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

#2583 adds auto predication globally, and adds rudimentary support for it for all sample clients. `drreg` requires more work however. Currently `drreg` opts out completely from auto predication, as it doesn't interact well with it (i.e. causes the app to crash).

This issue involves adding support for auto predication to `drreg`, so that `drreg` spills and restores are also predicated as appropriate.

Contributor guide

Open the contributing guide

Research direction

Start by reading the drreg implementation and the changes in issue #2583 that added global auto predication and sample-client support. Trace how drreg currently opts out and how spills and restores are handled; done means drreg supports auto predication without crashes and predicates its spills and restores appropriately.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.