This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another x86_64 disassembler crash


On Wed, Dec 07, 2005 at 04:33:20PM -0500, Daniel Jacobowitz wrote:
> -ffffffff8055fb2e:      2e                      cs
> -ffffffff8055fb2f:      2e                      cs
> -ffffffff8055fb30:      2e                      cs
> -ffffffff8055fb31:      2e 2e 2e 2e 2e 2e 2e    or %cs:0xffffffffffffffee(%rcx),%ch
> -ffffffff8055fb38:      2e 2e 2e 2e 2e 2e 2e 
> -ffffffff8055fb3f:      2e 2e 2e 2e 2e 2e 0a 
> -ffffffff8055fb46:      00 00 
> -ffffffff8055fb48:      3c 37                   cmp    $0x37,%al
> +ffffffff8055fb2e:      2e 2e 2e 2e 2e 2e 2e    or     %cs:(%rax),%al
> +ffffffff8055fb35:      2e 2e 2e 2e 2e 2e 2e 
> +ffffffff8055fb3c:      2e 2e 2e 2e 2e 2e 2e 
> +ffffffff8055fb43:      2e 2e 0a 00 
> +ffffffff8055fb47:      00 3c 37                add %bh,(%rdi,%rsi,1)

I couldn't reproduce this using an input file with the bytes you show
here.  Perhaps something earlier affects the output?

> -ffffffff805be630:      43 17                   rexYZ popq   %dl
> +ffffffff805be630:      43 17                   rexYZ popq   %bp,%si

I also couldn't reproduce this one.  I get "rexYZ (bad)"

> 	* i386-dis.c (dofloat): Handle %rip-relative floating point addressing.

Applied with minor reordering.  Thanks!

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]