Open cavedon opened 2 years ago
Actually this is a duplicate of #17372. The bug is actually in the capstone project https://github.com/capstone-engine/capstone/issues/1673. It may be worthwhile keeping the bug open in radare2 as well until the upstream bug is resolved, as it manifests as bug in radare2 as well.
Thanks
On 23 Dec 2021, at 18:37, Ludovico Cavedon @.***> wrote:
Actually this is a duplicate of #17372. The bug is actually in the capstone project capstone-engine/capstone#1673. It may be worthwhile keeping the bug open in radare2 as well until the upstream bug is resolved, as it manifests as bug in radare2 as well.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.
Environment
Radare 5.5.4 (or today's master, 0c6d40c) on Ubuntu focal 64 bit
Description
The disassembly in mfc/mtc instructions allows to read and write coprocessor registers. For example
Writes v1 to the coprocessor 0 register 12. The disassembly when using
-e mips.gnu
is correct, as shown above. When using-e mips
, the disassembly references the GPR number 12 (i.e.t4
):Test
Correct:
Incorrect: