[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/20699] [libopcodes][x86] Decodes invalid 32-bit address fo
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug binutils/20699] [libopcodes][x86] Decodes invalid 32-bit address for a 64-bit MPX instruction |
Date: |
Tue, 18 Oct 2016 16:14:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20699
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |2.28
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to nholcomb from comment #0)
> Libopcodes produces invalid 32-bit address for a 64-bit MPX instruction.
>
> Output: addr32 bndstx %bnd0, -0x76a5963e(%eip) # 0xffffffff895a69cb
> Bytes: 67 41 0f 1b 05 c2 69 5a 89
>
> This instruction should be shown as invalid because 64-bit MPX instructions
> cannot act on 32-bit addresses.
Since the addr32 prefix is ignored in 64-bit mode, I checked in a patch to
display
67 41 0f 1b 05 c2 69 5a 89 addr32 bndstx %bnd0,-0x76a5963e(%rip)
--
You are receiving this mail because:
You are on the CC list for the bug.