Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) Standard preamble: ========================================================================..
..
..
Set up some character translations and predefined strings. \*(-- will give an unbreakable dash, \*(PI will give pi, \*(L" will give a left double quote, and \*(R" will give a right double quote. \*(C+ will give a nicer C++. Capital omega is used to do unbreakable dashes and therefore won't be available. \*(C` and \*(C' expand to `' in nroff, nothing in troff, for use with C<>..tr \(*W-
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
Escape single quotes in literal strings from groff's Unicode transform. If the F register is turned on, we'll generate index entries on stderr for titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index entries marked with X<> in POD. Of course, you'll have to process the output yourself in some meaningful fashion.. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
. de IX
..
.\}
Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). Fear. Run. Save yourself. No user-serviceable parts.. \" fudge factors for nroff and troff
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #]
.\}
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
. \" corrections for vroff
. \" for low resolution devices (crt and lpr)
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
======================================================================== Title "READELF 1" READELF 1 " " "binutils-2.21" "GNU Development Tools"
For nroff, turn off justification. Always turn off hyphenation; it makes way too many mistakes in technical documents..nh
"NAME"
readelf - Displays information about ELF files.
"SYNOPSIS"
Header "SYNOPSIS" readelf [
-a|
--all]
[
-h|
--file-header]
[
-l|
--program-headers|
--segments]
[
-S|
--section-headers|
--sections]
[
-g|
--section-groups]
[
-t|
--section-details]
[
-e|
--headers]
[
-s|
--syms|
--symbols]
[
--dyn-syms]
[
-n|
--notes]
[
-r|
--relocs]
[
-u|
--unwind]
[
-d|
--dynamic]
[
-V|
--version-info]
[
-A|
--arch-specific]
[
-D|
--use-dynamic]
[
-x <number or name>|
--hex-dump=<number or name>]
[
-p <number or name>|
--string-dump=<number or name>]
[
-R <number or name>|
--relocated-dump=<number or name>]
[
-c|
--archive-index]
[
-w[lLiaprmfFsoRt]|
--debug-dump[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges,=pubtypes,=trace_info,=trace_abbrev,=trace_aranges]]
[
-I|
--histogram]
[
-v|
--version]
[
-W|
--wide]
[
-H|
--help]
elffile...
"DESCRIPTION"
Header "DESCRIPTION" \fBreadelf displays information about one or more \s-1ELF\s0 format object
files. The options control what particular information to display.
\fIelffile... are the object files to be examined. 32-bit and
64-bit \s-1ELF\s0 files are supported, as are archives containing \s-1ELF\s0 files.
This program performs a similar function to objdump but it
goes into more detail and it exists independently of the \s-1BFD\s0
library, so if there is a bug in \s-1BFD\s0 then readelf will not be
affected.
"OPTIONS"
Header "OPTIONS" The long and short forms of options, shown here as alternatives, are
equivalent. At least one option besides
-v or
-H must be
given.
"-a" 4
Item "-a" 0
"--all" 4
Item "--all"
Equivalent to specifying --file-header,
\fB--program-headers, --sections, --symbols,
\fB--relocs, --dynamic, --notes and
\fB--version-info.
"-h" 4
Item "-h" 0
"--file-header" 4
Item "--file-header"
Displays the information contained in the \s-1ELF\s0 header at the start of the
file.
"-l" 4
Item "-l" 0
"--program-headers" 4
Item "--program-headers" "--segments" 4
Item "--segments"
Displays the information contained in the file's segment headers, if it
has any.
"-S" 4
Item "-S" 0
"--sections" 4
Item "--sections" "--section-headers" 4
Item "--section-headers"
Displays the information contained in the file's section headers, if it
has any.
"-g" 4
Item "-g" 0
"--section-groups" 4
Item "--section-groups"
Displays the information contained in the file's section groups, if it
has any.
"-t" 4
Item "-t" 0
"--section-details" 4
Item "--section-details"
Displays the detailed section information. Implies -S.
"-s" 4
Item "-s" 0
"--symbols" 4
Item "--symbols" "--syms" 4
Item "--syms"
Displays the entries in symbol table section of the file, if it has one.
"--dyn-syms" 4
Item "--dyn-syms" Displays the entries in dynamic symbol table section of the file, if it
has one.
"-e" 4
Item "-e" 0
"--headers" 4
Item "--headers"
Display all the headers in the file. Equivalent to -h -l -S.
"-n" 4
Item "-n" 0
"--notes" 4
Item "--notes"
Displays the contents of the \s-1NOTE\s0 segments and/or sections, if any.
"-r" 4
Item "-r" 0
"--relocs" 4
Item "--relocs"
Displays the contents of the file's relocation section, if it has one.
"-u" 4
Item "-u" 0
"--unwind" 4
Item "--unwind"
Displays the contents of the file's unwind section, if it has one. Only
the unwind sections for \s-1IA64\s0 \s-1ELF\s0 files, as well as \s-1ARM\s0 unwind tables
(\*(C`.ARM.exidx\*(C' / \*(C`.ARM.extab\*(C') are currently supported.
"-d" 4
Item "-d" 0
"--dynamic" 4
Item "--dynamic"
Displays the contents of the file's dynamic section, if it has one.
"-V" 4
Item "-V" 0
"--version-info" 4
Item "--version-info"
Displays the contents of the version sections in the file, it they
exist.
"-A" 4
Item "-A" 0
"--arch-specific" 4
Item "--arch-specific"
Displays architecture-specific information in the file, if there
is any.
"-D" 4
Item "-D" 0
"--use-dynamic" 4
Item "--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.
"-x <number or name>" 4
Item "-x <number or name>" 0
"--hex-dump=<number or name>" 4
Item "--hex-dump=<number or name>"
Displays the contents of the indicated section as a hexadecimal bytes.
A number identifies a particular section by index in the section table;
any other string identifies all sections with that name in the object file.
"-R <number or name>" 4
Item "-R <number or name>" 0
"--relocated-dump=<number or name>" 4
Item "--relocated-dump=<number or name>"
Displays the contents of the indicated section as a hexadecimal
bytes. A number identifies a particular section by index in the
section table; any other string identifies all sections with that name
in the object file. The contents of the section will be relocated
before they are displayed.
"-p <number or name>" 4
Item "-p <number or name>" 0
"--string-dump=<number or name>" 4
Item "--string-dump=<number or name>"
Displays the contents of the indicated section as printable strings.
A number identifies a particular section by index in the section table;
any other string identifies all sections with that name in the object file.
"-c" 4
Item "-c" 0
"--archive-index" 4
Item "--archive-index"
Displays the file symbol index infomation contained in the header part
of binary archives. Performs the same function as the t
command to ar, but without using the \s-1BFD\s0 library.
"-w[lLiaprmfFsoRt]" 4
Item "-w[lLiaprmfFsoRt]" 0
"--debug-dump[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges,=pubtypes,=trace_info,=trace_abbrev,=trace_aranges]" 4
Item "--debug-dump[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges,=pubtypes,=trace_info,=trace_abbrev,=trace_aranges]"
Displays the contents of the debug sections in the file, if any are
present. If one of the optional letters or words follows the switch
then only data found in those specific sections will be dumped.
.Sp
Note that there is no single letter option to display the content of
trace sections.
.Sp
Note: the =decodedline option will display the interpreted
contents of a .debug_line section whereas the =rawline option
dumps the contents in a raw format.
.Sp
Note: the =frames-interp option will display the interpreted
contents of a .debug_frame section whereas the =frames option
dumps the contents in a raw format.
"-I" 4
Item "-I" 0
"--histogram" 4
Item "--histogram"
Display a histogram of bucket list lengths when displaying the contents
of the symbol tables.
"-v" 4
Item "-v" 0
"--version" 4
Item "--version"
Display the version number of readelf.
"-W" 4
Item "-W" 0
"--wide" 4
Item "--wide"
Don't break output lines to fit into 80 columns. By default
\fBreadelf breaks section header and segment listing lines for
64-bit \s-1ELF\s0 files, so that they fit into 80 columns. This option causes
\fBreadelf to print each section header resp. each segment one a
single line, which is far more readable on terminals wider than 80 columns.
"-H" 4
Item "-H" 0
"--help" 4
Item "--help"
Display the command line options understood by readelf.
"@file" 4
Item "@file" Read command-line options from
file. The options read are
inserted in place of the original @
file option. If
file
does not exist, or cannot be read, then the option will be treated
literally, and not removed.
.Sp
Options in
file are separated by whitespace. A whitespace
character may be included in an option by surrounding the entire
option in either single or double quotes. Any character (including a
backslash) may be included by prefixing the character to be included
with a backslash. The
file may itself contain additional
@
file options; any such options will be processed recursively.
"SEE ALSO"
Header "SEE ALSO" \fIobjdump\|(1), and the Info entries for
binutils.
"COPYRIGHT"
Header "COPYRIGHT" Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, with no Front-Cover Texts, and with no
Back-Cover Texts. A copy of the license is included in the
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".