Print this page
6205 onbld manuals should be declared as 1onbld
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
   1 find_elf(1)                      User Commands                     find_elf(1)
   2 
   3 
   4 
   5 NAME
   6        find_elf - Locate ELF shared objects and executables
   7 
   8 SYNOPSIS
   9        find_elf [-afrs] path
  10 
  11 DESCRIPTION
  12        The find_elf command descends a directory hierarchy and produces one
  13        line of output on stdout for each ELF executable or shared object
  14        found.
  15 
  16 OPTIONS
  17        The following options are supported:
  18 
  19        -a  Disable alias processing. Symbolic links are treated as independent
  20            files, each such link results in a separate OBJECT output line, and
  21            ALIAS lines are not issued.


 123            OBJECT 64 DYN  VERDEF  amd64/libfoo.so.1
 124            OBJECT 64 DYN  VERDEF  amd64/libfoo.so
 125            OBJECT 32 DYN  VERDEF  libfoo.so.1
 126            OBJECT 32 DYN  VERDEF  libfoo.so
 127 
 128        When find_elf is used to process an alias for which no target object is
 129        given, there will be no output. For example, using /lib/libc.so, which
 130        is a compilation symlink for /lib/libc.so.1:
 131 
 132            % find_elf /lib/libc.so
 133 
 134        In such situations, the -a option can be used to produce the desired
 135        output:
 136 
 137            % find_elf -a /lib/libc.so
 138            OBJECT 32 DYN  VERDEF   /lib/libc.so
 139 
 140 
 141 
 142 SEE ALSO
 143        check_rtime(1), interface_check(1), interface_cmp(1), ld(1), ldd(1),
 144        elfdump(1), pvs(1).
 145 
 146 
 147 
 148                                  25 March 2010                     find_elf(1)
   1 find_elf(1ONBLD)              illumos Build Tools             find_elf(1ONBLD)
   2 
   3 
   4 
   5 NAME
   6        find_elf - Locate ELF shared objects and executables
   7 
   8 SYNOPSIS
   9        find_elf [-afrs] path
  10 
  11 DESCRIPTION
  12        The find_elf command descends a directory hierarchy and produces one
  13        line of output on stdout for each ELF executable or shared object
  14        found.
  15 
  16 OPTIONS
  17        The following options are supported:
  18 
  19        -a  Disable alias processing. Symbolic links are treated as independent
  20            files, each such link results in a separate OBJECT output line, and
  21            ALIAS lines are not issued.


 123            OBJECT 64 DYN  VERDEF  amd64/libfoo.so.1
 124            OBJECT 64 DYN  VERDEF  amd64/libfoo.so
 125            OBJECT 32 DYN  VERDEF  libfoo.so.1
 126            OBJECT 32 DYN  VERDEF  libfoo.so
 127 
 128        When find_elf is used to process an alias for which no target object is
 129        given, there will be no output. For example, using /lib/libc.so, which
 130        is a compilation symlink for /lib/libc.so.1:
 131 
 132            % find_elf /lib/libc.so
 133 
 134        In such situations, the -a option can be used to produce the desired
 135        output:
 136 
 137            % find_elf -a /lib/libc.so
 138            OBJECT 32 DYN  VERDEF   /lib/libc.so
 139 
 140 
 141 
 142 SEE ALSO
 143        check_rtime(1ONBLD), interface_check(1ONBLD), interface_cmp(1ONBLD),
 144        ld(1), ldd(1), elfdump(1), pvs(1).
 145 
 146 
 147 
 148                                  25 March 2010                find_elf(1ONBLD)