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

            Bug ID: 27861
           Summary: Infinite loop in dwarf.c:7507-7526
           Product: binutils
           Version: 2.37 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: shaohua.li at inf dot ethz.ch
  Target Milestone: ---

Created attachment 13446
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13446&action=edit
loop.o

Hi there,

I found that `readelf -w` would enter an infinite loop in dwarf.c:7507-7526. I
attached an input that revealed this issue. I compiled with gcc11 and clang12
separately, but only gcc11 compiled binary had this issue.

Compiler: gcc11

Reproduce: `readelf -w loop.o`

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

Reply via email to