[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/19984] New: objdump aborts on particular x86-64 instructio
From: |
b7.10110111 at gmail dot com |
Subject: |
[Bug binutils/19984] New: objdump aborts on particular x86-64 instruction on 32-bit x86 host |
Date: |
Sat, 23 Apr 2016 15:17:09 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19984
Bug ID: 19984
Summary: objdump aborts on particular x86-64 instruction on
32-bit x86 host
Product: binutils
Version: 2.26
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: b7.10110111 at gmail dot com
Target Milestone: ---
This bug reproduces on a 32-bit host, but doesn't on 64-bit. Here're bash
commands which reproduce it:
xxd -g1 -r <<< '0 A1 DB 2D 89 10 00 DB 2D 8D' > /tmp/test.bin
objdump -D --target=binary -m i386 -M intel-mnemonic,x86-64 /tmp/test.bin
Running objdump in GDB, I get the following backtrace:
#0 0xffffe430 in __kernel_vsyscall ()
#1 0xf7c545e2 in *__GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xf7c5605c in *__GI_abort () at abort.c:93
#3 0xf7ec8696 in get64 () at ../../binutils-2.26/opcodes/i386-dis.c:15776
#4 0xf7ec96ad in OP_OFF64 (bytemode=4, sizeflag=3) at
../../binutils-2.26/opcodes/i386-dis.c:16252
#5 0xf7ec489d in print_insn (pc=0, info=0xffffd248) at
../../binutils-2.26/opcodes/i386-dis.c:13513
#6 0xf7ec29fb in print_insn_i386 (pc=0, info=0xffffd248) at
../../binutils-2.26/opcodes/i386-dis.c:12757
#7 0x0804ceb0 in disassemble_bytes (inf=0xffffd248, disassemble_fn=0xf7ec29d0
<print_insn_i386>, insns=1, data=0x80bcb48 "\241\333-\211\020", start_offset=0,
stop_offset=9, rel_offset=0, relppp=0xffffd17c,
relppend=0x0) at ../../binutils-2.26/binutils/objdump.c:1697
#8 0x0804dd2b in disassemble_section (abfd=0x80ba848, section=0x80bb960,
inf=0xffffd248) at ../../binutils-2.26/binutils/objdump.c:2137
#9 0xf7dda7f9 in bfd_map_over_sections (abfd=0x80ba848, operation=0x804d5ef
<disassemble_section>, user_storage=0xffffd248) at
../../binutils-2.26/bfd/section.c:1392
#10 0x0804e1aa in disassemble_data (abfd=0x80ba848) at
../../binutils-2.26/binutils/objdump.c:2273
#11 0x0805036b in dump_bfd (abfd=0x80ba848) at
../../binutils-2.26/binutils/objdump.c:3363
#12 0x080504df in display_object_bfd (abfd=0x80ba848) at
../../binutils-2.26/binutils/objdump.c:3420
#13 0x080506ee in display_any_bfd (file=0x80ba848, level=0) at
../../binutils-2.26/binutils/objdump.c:3509
#14 0x08050759 in display_file (filename=0xffffd6e2 "/tmp/test.bin",
target=0xffffd6ba "binary") at ../../binutils-2.26/binutils/objdump.c:3530
#15 0x08050fd7 in main (argc=8, argv=0xffffd4c4) at
../../binutils-2.26/binutils/objdump.c:3813
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/19984] New: objdump aborts on particular x86-64 instruction on 32-bit x86 host,
b7.10110111 at gmail dot com <=