This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tools/23920] New: elflint should check sanity check Chdr fields and uncompressed data of compressed sections


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

            Bug ID: 23920
           Summary: elflint should check sanity check Chdr fields and
                    uncompressed data of compressed sections
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tools
          Assignee: unassigned at sourceware dot org
          Reporter: mark at klomp dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

elflint currently only checks that a section that has SHF_COMPRESSED set has a
Chdr. It doesn't check anything about the Chdr (does the ch_type make sense, is
the alignment a power of 2, does the data uncompress, etc.) nor whether the
other flags of the section make sense (it cannot be SHF_ALLOC, SHF_NOBITS).

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]