[Bug tools/22138] New: Support marking "debug" info files with special ET_GNU_DEBUG_* values.

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Thu Sep 14 19:25:00 GMT 2017


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

            Bug ID: 22138
           Summary: Support marking "debug" info files with special
                    ET_GNU_DEBUG_* values.
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tools
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: carlos at redhat dot com, elfutils-devel at sourceware dot org,
                    fweimer at redhat dot com, unassigned at sourceware dot org
            Blocks: 22101
  Target Milestone: ---

+++ This bug was initially created as a clone of Bug #22136 +++

We need a way to identify "debug" info files, which appear like they are ELF
files but if inspected are actually missing a lot of information and can't be
properly parsed without the original DSO or executable.

To that end I suggest we adopt:

* ET_GNU_DEBUG_EXEC
* ET_GNU_DEBUG_DYN
* ET_GNU_DEBUG_REL

As ways to mark these files a debug information files. We can place them into
the OS-specific area, and audit that we don't overlap anything important from
other OSs.

We would need new binutils options to edit, adjust and set the "debug"-ness of
files.


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=22101
[Bug 22101] Dynamic loader must ignore "debug" shared objects e.g.
ET_GNU_DEBUG_*
-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list