symbindrep(1)

NAME
symbindrep - report on all symbol bindings required to load this object

SYNOPSIS
symbindrep [ -f bindfromlist ] [ -t bindtolist ] [ -l symbindreplib ] funcname executable

AVAILABILITY

SUNWosdem

DESCRIPTION
symbindrep is a simple example of a Link-Auditing library which reports on the symbol bindings performed by the run-time linker (ld.so.1) when loading an object. symbindrep will display all of the symbol bindings that occur between the executable and all of it's dependencies. After all symbol bindings have been performed symbindrep will terminate. No code from the executable is ever executed.

OPTIONS

-f bindfromlist
    A colon seperated list of libraries that are to be traced. Only symbol bindings from these libraries will be traced. The default is to report on all symbol bindings. -t bindtolib A colon seperated list of libraries that are to be traced. Only symbol bindings to these libraries will be reported. The default is to trace all libraries. -l symbindrep specify an alternate symbindrep.so Link-Auditing library to use.

EXAMPLES
This example reports on only the symbol bindings between nm and libelf.so.1.

% symbindrep -t /usr/lib/libelf.so.1 -f nm nm
                    Symbol Bindings
Referencing          Defining
Object               Object               Symbol
------------------------------------------------------------------
nm                   /usr/lib/libelf.so.1 elf_version
nm                   /usr/lib/libelf.so.1 elf_begin
nm                   /usr/lib/libelf.so.1 elf_errmsg
nm                   /usr/lib/libelf.so.1 elf_kind
nm                   /usr/lib/libelf.so.1 elf_end
nm                   /usr/lib/libelf.so.1 elf32_getehdr
nm                   /usr/lib/libelf.so.1 elf_getscn
nm                   /usr/lib/libelf.so.1 elf32_getshdr
nm                   /usr/lib/libelf.so.1 elf_getdata
nm                   /usr/lib/libelf.so.1 elf_nextscn
nm                   /usr/lib/libelf.so.1 elf_getarhdr
nm                   /usr/lib/libelf.so.1 elf_next
nm                   /usr/lib/libelf.so.1 elf_strptr

SEE ALSO
ld.so.1(1)