bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/28834] incorrect detection of "DWARF error: section .debug


From: joelhock at gmail dot com
Subject: [Bug binutils/28834] incorrect detection of "DWARF error: section .debug_str is larger than its filesize"
Date: Tue, 01 Feb 2022 20:27:28 +0000

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

--- Comment #2 from Joel Hock <joelhock at gmail dot com> ---
I can't upload the binary, but the uncompressed size (b6e3fb5 in the output
below) is correct.  This output is from a different, but similar, binary than
what was generating the original error message I posted:

$ readelf -t mybinary
  [Nr] Name
       Type              Address          Offset            Link
       Size              EntSize          Info              Align
       Flags
...
  [38] .debug_str
       PROGBITS         0000000000000000  0000000007259234  0
       0000000001a18720 0000000000000001  0                 1
       [0000000000000830]: MERGE, STRINGS, COMPRESSED
       ZLIB, 000000000b6e3fb5, 1

A 10x heuristic would have worked in this case, fwiw.

Joel

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