DynamoRIO / DynamoRIO/dynamorio

[drreg] Omit adjacent tool-val restore and spill

Open
#4,931 1 comment 0 reactions 0 assignees View on GitHub
Component-Extension Performance
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

Today, drreg restores app value of a spilled reg around app instrs that read that reg. E.g. for `instr1` and `instr2` that both read `reg1`, drreg will produce a sequence like the following:

```

// can be omitted

// can be omitted

```

The commented tool val restore and tool val spill instrs can possibly be omitted. This can be done in instru2instru phase in drreg.

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.