1 .\" Copyright (c) 2003 David O'Brien
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 .\" $FreeBSD: src/usr.bin/elfdump/elfdump.1,v 1.6 2005/01/18 13:43:48 ru Exp $
26 .\" $Id: elfdump.1 3231 2015-07-30 13:47:56Z emaste $
33 .Nd "display information about"
48 dumps various information about the specified
52 The options are as follows:
53 .Bl -tag -width ".Fl w Ar file"
67 Dump the dynamic interpreter.
69 Dump the ELF checksum.
73 Only dump the section with the specific
75 Archive symbol table can be specified with
76 the special section name ARSYM.
81 Dump the program header.
85 Dump the symbol table.
91 Dump the symbol-versioning sections.
93 Print a version identifier and exit.
97 instead of the standard output.
102 The following is an example of a typical usage
107 .Dl "elfdump -a -w output /bin/ls"
109 To dump the content of '.dynsym' symbol table:
111 .Dl "elfdump -s -N .dynsym /bin/ls"
113 To dump the archive symbol table,
114 but not the symbol tables of archive members:
116 .Dl "elfdump -s -N ARSYM /usr/lib/libelf.a"
118 To dump the content of .got section and
119 the symbol-versioning sections in Solaris
123 .Dl "elfdump -S -Gv /bin/ls"
129 .%A "AT&T Unix Systems Labs"
130 .%T "System V Application Binary Interface"
131 .%O http://www.sco.com/developers/gabi/
136 utility first appeared in
144 .An Jake Burkholder Aq Mt jake@FreeBSD.org .
145 Later it was rewritten based on the
148 manual page was written by
149 .An David O'Brien Aq Mt obrien@FreeBSD.org .
151 .An Kai Wang Aq Mt kaiw@FreeBSD.org
154 and implemented additional functionality.
156 Does not fully implement the