DynamoRIO / DynamoRIO/dynamorio

drreg-test fails with non-default stolen register

Open
#2,072 3 comments 0 reactions 0 assignees View on GitHub
Bug-AppFail Component-Tests Hotlist-Release OpSys-AArch64 OpSys-ARM
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

This only seems to be a problem on AArch64, not 32-bit ARM.

```
bin64/drrun -steal_reg 28 -c suite/tests/bin/libclient.drreg-test.dll.so -- suite/tests/bin/client.drreg-test
```
works, but
```
bin64/drrun -steal_reg 27 -c suite/tests/bin/libclient.drreg-test.dll.so -- suite/tests/bin/client.drreg-test
```
fails (at translate.c:770).

Note that https://codereview.appspot.com/316900043/ removes one hardwired reference to X28, but the bug is not fixed by that commit and there don't seem to be any other similar references, so it might be something more subtle.

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.