bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/25870] New: objdump: unable to disassemble a project with


From: zhongyunde at huawei dot com
Subject: [Bug binutils/25870] New: objdump: unable to disassemble a project with large bss section
Date: Fri, 24 Apr 2020 08:56:15 +0000

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

            Bug ID: 25870
           Summary: objdump: unable to disassemble a project with large
                    bss section
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: zhongyunde at huawei dot com
  Target Milestone: ---

base no the New released binutils 6.34, when you try objdump -SD a.out > a.dump
, you'll get an error similar with follow info, so I think the check in
function bfd_get_full_section_contents need more constraint.


error: a.out(.bss) section size (0x400038 bytes) is larger than file size
(0x184c bytes)
Reading section .bss failed because: memory exhausted

========= test case ==============
int garray[0x100000]; /* define a large bss section */

int main ()
{
         return 0;
}

-- 
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]