bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29616] New: The help document of readelf misses some optio


From: mengda2020 at iscas dot ac.cn
Subject: [Bug binutils/29616] New: The help document of readelf misses some options
Date: Mon, 26 Sep 2022 14:05:35 +0000

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

            Bug ID: 29616
           Summary: The help document of readelf misses some options
           Product: binutils
           Version: 2.39
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: mengda2020 at iscas dot ac.cn
  Target Milestone: ---

The "--help" option of readelf misses the option "i" and "dwarf-check". 

1) For the option "i", the following code appears during option parsing and
calls the request_dump() in binutils/readelf.c:5597-5601 for version 2.39.

#ifdef SUPPORT_DISASSEMBLY
        case 'i':
          request_dump (dumpdata, DISASS_DUMP);
          break;
#endif

2) For the option "dwarf-check", the following code appears during option
parsing and modifies the dwarf_check in binutils/readelf.c:5572-5574 for
version 2.39. 

        case OPTION_DWARF_CHECK:
          dwarf_check = true;
          break;

But they do not appear in the document provided by "-h".

It may prevent users from using the relevant function.

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