readelf [
|
]
-a
--all
[
|
-h
--file-header
[
|
-l
--program-headers
[
|
-S
--section-headers
[
|
-e
--headers
[
|
|
-s
--syms
[
|
-n
--notes
[
|
-r
--relocs
[
|
-u
--unwind
[
|
-d
--dynamic
[
|
-V
--version-info
[
|
-A
--arch-specific
[
|
-D
--use-dynamic
[
number
-x
[
-w[liaprmfFso]
--debug-dump
[
|
-I
-histogram
[
|
-v
--version
[
|
]
-W
--wide
[
|
]
-H
--help
...
elffile
displays information about one or more ELF format object files. The options control what
readelf
particular information to display.
. . . are the object files to be examined. 32-bit and 64-bit ELF files are supported, as are
elffile
archives containing ELF files.
This program performs a similar function to
pendently of the bfd library, so if there is a bug in bfd then readelf will not be affected.
The long and short forms of options, shown here as alternatives, are equivalent. At least one option
besides
or
must be given.
-v
-H
-a
-all
Equivalent to specifiying
,
-relocs
-dynamic
-h
-file-header
Displays the information contained in the ELF header at the start of the file.
-l
-program-headers
-segments
Displays the information contained in the file's segment headers, if it has any.
]
|
--segments
|
--sections
]
]
--symbols
]
]
]
]
]
]
]
|
number
--hex-dump=
|
[=line,=info,=abbrev,=pubnames,=ranges,=macro,=frames,=frames-in
]
]
objdump
-file-header
,
and
-notes
-version-info
]
]
]
but it goes into more detail and it exists inde-
,
-program-headers
.
Chapter 15.
readelf
,
,
-sections
-symbols
,