https://sourceware.org/bugzilla/show_bug.cgi?id=18257

            Bug ID: 18257
           Summary: objdump -d crashes on kandw-instruction (x86-64)
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: lukas.lueg at gmail dot com

Using binutils git 0ff6fcb... (2015/04/13) the following one-liner crashes with
a segmentation fault in OP_G(), i386-dic.c:15258, trying to call oappend(s=0x0)

echo "int main(){__asm__(\".byte 0xc5,0x3c,0x41\");return 0;}" | gcc -m64 -xc -
&& ~/dev/binutils-gdb/binutils/objdump -d a.out > /dev/null


binutils 2.24 disassembles this as "kandw (bad),k0,k7; cmp $0x41,%al)"

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to