DynamoRIO / DynamoRIO/dynamorio

decoding of fsubrp vs fsubp mixed up

Open
#2,176 0 comments 0 reactions 0 assignees View on GitHub
Bug-ToolFail Component-IR Hotlist-Release OpSys-x86
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

While looking at #2175 I noticed a discrepancy in DR's decoder vs gdb on
fsubrp vs fsubp:

```
0xf7566960 de e1 fsubrp %st0 %st1 -> %st1
0xf7566962 c1 e2 02 shl $0x00000002 %edx -> %edx
0xf7566965 de ea fsubp %st0 %st2 -> %st2

0xf7542960 <+48>: fsubp %st,%st(1)
0xf7542962 <+50>: shl $0x2,%edx
0xf7542965 <+53>: fsubrp %st,%st(2)
```

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.