[llvm-bugs] [Bug 45105] New: Parsing an inconsistent .eh_frame section cause crash.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 4 19:50:53 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=45105

            Bug ID: 45105
           Summary: Parsing an inconsistent .eh_frame section cause crash.
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: ikudrin at accesssoftek.com
                CC: jdevlieghere at apple.com, keith.walker at arm.com,
                    llvm-bugs at lists.llvm.org,
                    paul_robinson at playstation.sony.com

DWARFDebugFrame::parse() issues report_fatal_error() on any problem it founds,
which leads to aborting the program and generating a crash report, see
test/DebugInfo/X86/eh-frame-cie-id.s test in https://reviews.llvm.org/D73886 as
an example.

Parsing methods are expected to be more tolerant. They should continue parsing
in case of recoverable errors or just return an Error when encountering
something unrecoverable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200305/3ca5cd78/attachment.html>


More information about the llvm-bugs mailing list