1 .\" Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
5 .\" The contents of this file are subject to the terms of the
6 .\" Common Development and Distribution License (the "License").
7 .\" You may not use this file except in compliance with the License.
9 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 .\" or http://www.opensolaris.org/os/licensing.
11 .\" See the License for the specific language governing permissions
12 .\" and limitations under the License.
14 .\" When distributing Covered Code, include this CDDL HEADER in each
15 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 .\" If applicable, add the following below this CDDL HEADER, with the
17 .\" fields enclosed by brackets "[]" replaced with your own identifying
18 .\" information: Portions Copyright [yyyy] [name of copyright owner]
23 .TH symbindrep 1 "18 Nov 1996"
25 symbindrep \- report on all symbol bindings required to load this object
45 is a simple example of a
47 library which reports on the symbol bindings performed by
48 the run-time linker (ld.so.1) when loading an object.
50 will display all of the symbol bindings that occur
51 between the executable and all of it's dependencies. After all symbol
52 bindings have been performed
54 will terminate. No code from the executable is ever executed.
57 .BI \-f " bindfromlist"
58 A colon separated list of libraries that are to be traced. Only symbol
59 bindings from these libraries will be traced. The default is
60 to report on all symbol bindings.
62 A colon separated list of libraries that are to be traced. Only symbol
63 bindings to these libraries will be reported. The default is to trace
66 specify an alternate symbindrep.so
70 This example reports on only the symbol bindings between nm and
75 % symbindrep -t /usr/lib/libelf.so.1 -f nm nm
80 ------------------------------------------------------------------
81 nm /usr/lib/libelf.so.1 elf_version
82 nm /usr/lib/libelf.so.1 elf_begin
83 nm /usr/lib/libelf.so.1 elf_errmsg
84 nm /usr/lib/libelf.so.1 elf_kind
85 nm /usr/lib/libelf.so.1 elf_end
86 nm /usr/lib/libelf.so.1 elf32_getehdr
87 nm /usr/lib/libelf.so.1 elf_getscn
88 nm /usr/lib/libelf.so.1 elf32_getshdr
89 nm /usr/lib/libelf.so.1 elf_getdata
90 nm /usr/lib/libelf.so.1 elf_nextscn
91 nm /usr/lib/libelf.so.1 elf_getarhdr
92 nm /usr/lib/libelf.so.1 elf_next
93 nm /usr/lib/libelf.so.1 elf_strptr