-a --all | Equivalent to: -h -l -S -s -r -d -V -A -I --got-contents | help + man |
-h --file-header | Display the ELF file header | help + man |
-l --program-headers | Display the program headers | help + man |
--segments | Displays the information contained in the file's segment headers, if it has any. | help + man |
-S --section-headers | Display the sections' header | help + man |
--sections | An alias for --section-headers | help + man |
-g --section-groups | Display the section groups | help + man |
-t --section-details | Display the section details | help + man |
-e --headers | Equivalent to: -h -l -S | help + man |
-s --syms | Display the symbol table | help + man |
--symbols | An alias for --syms | help + man |
--dyn-syms | Displays the entries in dynamic symbol table section of the file, if it has one. | help + man |
--lto-syms | Displays the contents of any LTO symbol tables in the file. | help + man |
--sym-base 0|8|10|16 | Force base for symbol sizes. | help |
-C --demangle[=STYLE | Decode mangled/processed symbol names STYLE can be "none", "auto", "gnu-v3", "java", "gnat", "dlang", "rust" | help + man |
--no-demangle | Do not demangle low-level symbol names. | help + man |
--recurse-limit | Enable a demangling recursion limit. | help + man |
--no-recurse-limit | Disable a demangling recursion limit | help + man |
-U dlexhi | Display unicode characters as determined by the current locale (default), escape sequences, "<hex sequences>", highlighted escape sequences, or treat them as invalid and display as "{hex sequences}" | help |
-n --notes | Display the contents of note sections (if present) | help + man |
-r --relocs | Display the relocations (if present) | help + man |
-u --unwind | Display the unwind info (if present) | help + man |
-d --dynamic | Display the dynamic section (if present) | help + man |
-V --version-info | Display the version sections (if present) | help + man |
-A --arch-specific | Display architecture specific information (if any) | help + man |
-c --archive-index | Display the symbol/file index in an archive | help + man |
-D --use-dynamic | Use the dynamic section info when displaying symbols | help + man |
-L --lint|--enable-checks | Display warning messages for possible problems | help + man |
-x --hex-dump=<number|name | Dump the contents of section <number|name> as bytes | help + man |
-p --string-dump=<number|name | Dump the contents of section <number|name> as strings | help + man |
-R --relocated-dump=<number|name | Dump the relocated contents of section <number|name> | help + man |
-z --decompress | Decompress section before dumping it | help + man |
-j --display-section=<name|number | Display the contents of the indicated section. | help + man |
-w --debug-dump[a/=abbrev | f/=frames, F/=frames-interp, g/=gdb_index, i/=info, o/=loc, m/=macro, p/=pubnames, t/=pubtypes, R/=Ranges, l/=rawline, s/=str, O/=str-offsets, u/=trace_abbrev, T/=trace_aranges, U/=trace_info]… | help |
-P --process-links | Display the contents of non-debug sections in separate debuginfo files. | help + man |
-wK --debug-dump=follow-links | Follow links to separate debug info files (default) | help |
-wN --debug-dump=no-follow-links | Do not follow links to separate debug info files | help |
--dwarf-depth N | Limit the dump of the ".debug_info" section to n children. | help + man |
--dwarf-start N | Print only DIEs beginning with the DIE numbered n. | help + man |
--debug-dir DIR | Search dir when looking for separate debug info files. | help + man |
--ctf number|name | Display CTF info from section <number|name> | help |
--ctf-parent name | If the CTF section contains ambiguously-defined types, it will consist of an archive of many CTF dictionaries, all inheriting from one dictionary containing unambiguous types. | help + man |
--ctf-symbols number|name | Use section <number|name> as the CTF external symtab | help + man |
--ctf-strings number|name | Specify the name of another section from which the CTF file can inherit strings and symbols. | help + man |
--sframe NAME | Display SFrame info from section NAME, (default '.sframe') | help |
-I --histogram | Display histogram of bucket list lengths | help + man |
--got-contents | Displays the contents of the file's Global Offset Table (GOT) sections, if it has any. | help + man |
-W --wide | Allow output width to exceed 80 characters | help + man |
-H --help | Display this information | help + man |
-v --version | Display the version number of readelf | help + man |
--all | Equivalent to specifying --file-header, --program-headers, --sections, --symbols, --relocs, --dynamic, --notes, --got-contents, --version-info, --arch-specific, --unwind, --section-groups and… (in the manual page but not in --help) | man |
--file-header | Displays the information contained in the ELF header at the start of the file. (in the manual page but not in --help) | man |
--program-headers | (in the manual page but not in --help) | man |
--quiet | Suppress "no symbols" diagnostic. (in the manual page but not in --help) | man |
--section-headers | Displays the information contained in the file's section headers, if it has any. (in the manual page but not in --help) | man |
--section-groups | Displays the information contained in the file's section groups, if it has any. (in the manual page but not in --help) | man |
--section-details | Displays the detailed section information. (in the manual page but not in --help) | man |
--syms | Displays the entries in symbol table section of the file, if it has one. (in the manual page but not in --help) | man |
--recursion-limit | (in the manual page but not in --help) | man |
--no-recursion-limit | Enables or disables a limit on the amount of recursion performed whilst demangling strings. (in the manual page but not in --help) | man |
-X | (in the manual page but not in --help) | man |
--extra-sym-info | When displaying details of symbols, include extra information not normally presented. (in the manual page but not in --help) | man |
--no-extra-sym-info | Disables the effect of the --extra-sym-info option. (in the manual page but not in --help) | man |
--headers | Display all the headers in the file. (in the manual page but not in --help) | man |
--notes | Displays the contents of the NOTE segments and/or sections, if any. (in the manual page but not in --help) | man |
--relocs | Displays the contents of the file's relocation section, if it has one. (in the manual page but not in --help) | man |
--unwind | Displays the contents of the file's unwind section, if it has one. (in the manual page but not in --help) | man |
--dynamic | Displays the contents of the file's dynamic section, if it has one. (in the manual page but not in --help) | man |
--version-info | Displays the contents of the version sections in the file, if they exist. (in the manual page but not in --help) | man |
--arch-specific | Displays architecture-specific information in the file, if there is any. (in the manual page but not in --help) | man |
--use-dynamic | When displaying symbols, this option makes readelf use the symbol hash tables in the file's dynamic section, rather than the symbol table sections. (in the manual page but not in --help) | man |
--lint | (in the manual page but not in --help) | man |
--enable-checks | Displays warning messages about possible problems with the file(s) being examined. (in the manual page but not in --help) | man |
--hex-dump number | Displays the contents of the indicated section as a hexadecimal bytes. (in the manual page but not in --help) | man |
--relocated-dump number | Displays the contents of the indicated section as a hexadecimal bytes. (in the manual page but not in --help) | man |
--string-dump number | Displays the contents of the indicated section as printable strings. (in the manual page but not in --help) | man |
--display-section | Displays the contents of the indicated section according to its section header type. (in the manual page but not in --help) | man |
--decompress | Requests that the section(s) being dumped by x, R or p options are decompressed before being displayed. (in the manual page but not in --help) | man |
--archive-index | Displays the file symbol index information contained in the header part of binary archives. (in the manual page but not in --help) | man |
--process-links | Display the contents of non-debug sections found in separate debuginfo files that are linked to the main file. (in the manual page but not in --help) | man |
--ctf-parent-section section | This option lets you pick a completely different section for the CTF parent dictionary containing unambiguous types than for the child dictionaries that contain the ambiguous remainder. (in the manual page but not in --help) | man |
--histogram | Display a histogram of bucket list lengths when displaying the contents of the symbol tables. (in the manual page but not in --help) | man |
--version | Display the version number of readelf. (in the manual page but not in --help) | man |
--wide | Don't break output lines to fit into 80 columns. (in the manual page but not in --help) | man |
-T | (in the manual page but not in --help) | man |
--silent-truncation | Normally when readelf is displaying a symbol name, and it has to truncate the name to fit into an 80 column display, it will add a suffix of "[...]" to the name. (in the manual page but not in --help) | man |
--help | Display the command-line options understood by readelf. (in the manual page but not in --help) | man |