bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/31595] New: Abort in AArch64 disassembler's get_sreg_quali


From: nickc at redhat dot com
Subject: [Bug binutils/31595] New: Abort in AArch64 disassembler's get_sreg_qualifier_from_value() function
Date: Tue, 02 Apr 2024 12:47:29 +0000

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

            Bug ID: 31595
           Summary: Abort in AArch64 disassembler's
                    get_sreg_qualifier_from_value() function
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: nickc at redhat dot com
  Target Milestone: ---

Attempting to disassemble the latest version of glibc compiled for the AArch64
for Fedora Rawhide results in:

  $ objdump -D lib64/libc.so.6
  objdump: opcodes/aarch64-dis.c:251: get_sreg_qualifier_from_value: 
   Assertion `value <= 0x4 && aarch64_get_qualifier_standard_value (qualifier)
== value' failed.
  Abort (core dumped)

This was using the version of libc.so.6 obtained from
glibc-2.39.9000-10.fc41.aarch64.rpm but I can also reproduce the problem with a
libc.so.6 from RHEL-9.  I suspect that any recent-ish version of libc.so will
do.

I suspect that the issue is with the processing of the rcpc3 size field, since
the stack backtrace shows that get_sreg_qualifier_from_value is called from
do_special_decoding at opcodes/aarch64-dis.c:2678.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]