public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-projects commit in pax-utils/man: scanelf.docbook
@ 2008-06-17 17:07 Ned Ludd (solar)
  0 siblings, 0 replies; 6+ messages in thread
From: Ned Ludd (solar) @ 2008-06-17 17:07 UTC (permalink / raw
  To: gentoo-commits

solar       08/06/17 17:07:58

  Modified:             scanelf.docbook
  Log:
  - add OSABI/EABI support to scanelf --osabi/--eabi to scanelf. Update elf.h

Revision  Changes    Path
1.9                  pax-utils/man/scanelf.docbook

file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/man/scanelf.docbook?r1=1.8&r2=1.9

Index: scanelf.docbook
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/man/scanelf.docbook,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- scanelf.docbook	19 Apr 2008 22:31:50 -0000	1.8
+++ scanelf.docbook	17 Jun 2008 17:07:57 -0000	1.9
@@ -104,6 +104,14 @@
    <listitem><para>Print Endianness</para></listitem>
   </varlistentry>
   <varlistentry>
+   <term><option>-I</option>, <option>--osabi</option> </term>
+   <listitem><para>Print OSABI</para></listitem>
+  </varlistentry>
+  <varlistentry>
+   <term><option>-Y</option>, <option>--eabi</option> </term>
+   <listitem><para>Print EABI (EM_ARM Only)</para></listitem>
+  </varlistentry>
+  <varlistentry>
    <term><option>-O</option>, <option>--perms</option> <replaceable>PERMS</replaceable></term>
    <listitem><para>Print only ELF files with matching specified octal bits (like 755)</para></listitem>
   </varlistentry>
@@ -221,6 +229,8 @@
    <listitem><para><emphasis remap='B'>b</emphasis> - bind flags</para></listitem>
    <listitem><para><emphasis remap='B'>e</emphasis> - program headers</para></listitem>
    <listitem><para><emphasis remap='B'>D</emphasis> - endian</para></listitem>
+   <listitem><para><emphasis remap='B'>I</emphasis> - osabi</para></listitem>
+   <listitem><para><emphasis remap='B'>Y</emphasis> - eabi</para></listitem>
    <listitem><para><emphasis remap='B'>F</emphasis> - long filename</para></listitem>
    <listitem><para><emphasis remap='B'>f</emphasis> - short filename</para></listitem>
    <listitem><para><emphasis remap='B'>i</emphasis> - interp</para></listitem>



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils/man: scanelf.docbook
@ 2009-12-21  4:30 Mike Frysinger (vapier)
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger (vapier) @ 2009-12-21  4:30 UTC (permalink / raw
  To: gentoo-commits

vapier      09/12/21 04:30:56

  Modified:             scanelf.docbook
  Log:
  improve option documentation

Revision  Changes    Path
1.10                 pax-utils/man/scanelf.docbook

file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/man/scanelf.docbook?r1=1.9&r2=1.10

Index: scanelf.docbook
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/man/scanelf.docbook,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- scanelf.docbook	17 Jun 2008 17:07:57 -0000	1.9
+++ scanelf.docbook	21 Dec 2009 04:30:56 -0000	1.10
@@ -44,15 +44,19 @@
   </varlistentry>
   <varlistentry>
    <term><option>-a</option>, <option>--all</option></term>
-   <listitem><para>Print all scanned info (<option>-x -e -t -r -n -i -b</option>)</para></listitem>
+   <listitem><para>Print all useful/simple info</para></listitem>
   </varlistentry>
   <varlistentry>
-   <term><option>-B</option>, <option>--banner</option></term>
+   <term><option>-B</option>, <option>--nobanner</option></term>
    <listitem><para>Don't display the header</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-b</option>, <option>--bind</option></term>
-   <listitem><para>Print BIND information</para></listitem>
+   <listitem><para>Print symbol binding information (lazy or now).</para></listitem>
+  </varlistentry>
+  <varlistentry>
+   <term><option>-D</option>, <option>--endian</option> </term>
+   <listitem><para>Print ELF endianness (big/little/...).</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-E</option>, <option>--etype</option> <replaceable>ETYPE</replaceable></term>
@@ -64,7 +68,7 @@
   </varlistentry>
   <varlistentry>
    <term><option>-F</option>, <option>--format</option> <replaceable>FORMAT</replaceable></term>
-   <listitem><para>Use specified format for output; see the <emphasis remap='B'>FORMAT</emphasis> section</para></listitem>
+   <listitem><para>Use specified format for output; see the <link><emphasis remap='B'>FORMAT</emphasis></link> section for more information.</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-f</option>, <option>--from</option> <replaceable>FILE</replaceable></term>
@@ -79,13 +83,16 @@
    <listitem><para>Show condensed usage and exit</para></listitem>
   </varlistentry>
   <varlistentry>
+   <term><option>-I</option>, <option>--osabi</option> </term>
+   <listitem><para>Print OSABI</para></listitem>
+  </varlistentry>
+  <varlistentry>
    <term><option>-i</option>, <option>--interp</option></term>
-   <listitem><para>Print INTERP information</para></listitem>
+   <listitem><para>Print the interpreter information (.interp/PT_INTERP).</para></listitem>
   </varlistentry>
-
   <varlistentry>
    <term><option>-k</option>, <option>--section</option> <replaceable>SECTION</replaceable></term>
-   <listitem><para>Find the specified section</para></listitem>
+   <listitem><para>Find ELFs with the specified section.</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-L</option>, <option>--ldcache</option></term>
@@ -100,26 +107,6 @@
    <listitem><para>Print only ELF files matching specified numeric bits (like 32/64)</para></listitem>
   </varlistentry>
   <varlistentry>
-   <term><option>-D</option>, <option>--endian</option> </term>
-   <listitem><para>Print Endianness</para></listitem>
-  </varlistentry>
-  <varlistentry>
-   <term><option>-I</option>, <option>--osabi</option> </term>
-   <listitem><para>Print OSABI</para></listitem>
-  </varlistentry>
-  <varlistentry>
-   <term><option>-Y</option>, <option>--eabi</option> </term>
-   <listitem><para>Print EABI (EM_ARM Only)</para></listitem>
-  </varlistentry>
-  <varlistentry>
-   <term><option>-O</option>, <option>--perms</option> <replaceable>PERMS</replaceable></term>
-   <listitem><para>Print only ELF files with matching specified octal bits (like 755)</para></listitem>
-  </varlistentry>
-  <varlistentry>
-   <term><option>-Z</option>, <option>--size</option> <replaceable>SIZE</replaceable></term>
-   <listitem><para>Print ELF file size</para></listitem>
-  </varlistentry>
-  <varlistentry>
    <term><option>-m</option>, <option>--mount</option></term>
    <listitem><para>Don't recursively cross mount points</para></listitem>
   </varlistentry>
@@ -129,15 +116,19 @@
   </varlistentry>
   <varlistentry>
    <term><option>-n</option>, <option>--needed</option></term>
-   <listitem><para>Print NEEDED information</para></listitem>
+   <listitem><para>Print libraries the ELF is linked against (DT_NEEDED).</para></listitem>
+  </varlistentry>
+  <varlistentry>
+   <term><option>-O</option>, <option>--perms</option> <replaceable>PERMS</replaceable></term>
+   <listitem><para>Print only ELF files with matching specified octal bits (like 755).</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-o</option>, <option>--file</option> <replaceable>FILE</replaceable></term>
-   <listitem><para>Write output stream to specified filename</para></listitem>
+   <listitem><para>Write output stream to specified filename.</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-p</option>, <option>--path</option></term>
-   <listitem><para>Scan all directories in PATH environment</para></listitem>
+   <listitem><para>Scan all directories in PATH environment.</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-q</option>, <option>--quiet</option></term>
@@ -149,19 +140,19 @@
   </varlistentry>
   <varlistentry>
    <term><option>-r</option>, <option>--rpath</option></term>
-   <listitem><para>Print RUNPATH information</para></listitem>
+   <listitem><para>Print runpaths encoded in the ELF (DT_RPATH/DT_RUNPATH).</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-S</option>, <option>--soname</option></term>
-   <listitem><para>Print SONAME information</para></listitem>
+   <listitem><para>Print the ELF's shared library name (DT_SONAME).</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-s</option>, <option>--symbol</option> <replaceable>SYMBOL</replaceable></term>
-   <listitem><para>Find the specified symbol; a <emphasis remap='B'>-</emphasis> prefix will only show undefined references while a <emphasis remap='B'>+</emphasis> prefix will only show defined references while no prefix will show both</para></listitem>
+   <listitem><para>Find the specified symbol; see <link><emphasis remap='B'>SYMBOL MATCHING</emphasis></link> for more info.</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-T</option>, <option>--textrels</option></term>
-   <listitem><para>Locate cause of TEXTRELs</para></listitem>
+   <listitem><para>Locate cause of TEXTRELs via objdump.</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-t</option>, <option>--textrel</option></term>
@@ -184,10 +175,18 @@
    <listitem><para>Print PaX markings</para></listitem>
   </varlistentry>
   <varlistentry>
+   <term><option>-Y</option>, <option>--eabi</option> </term>
+   <listitem><para>Print EABI (only matters for a few architectures)</para></listitem>
+  </varlistentry>
+  <varlistentry>
    <term><option>-y</option>, <option>--symlink</option></term>
    <listitem><para>Don't scan symlinks</para></listitem>
   </varlistentry>
   <varlistentry>
+   <term><option>-Z</option>, <option>--size</option> <replaceable>SIZE</replaceable></term>
+   <listitem><para>Print ELF file size</para></listitem>
+  </varlistentry>
+  <varlistentry>
    <term><option>-z</option>, <option>--setpax</option> <replaceable>FLAGS</replaceable></term>
    <listitem><para>Sets EI_PAX/PT_PAX_FLAGS to specified flags (use with <option>-Xx</option>)</para></listitem>
   </varlistentry>
@@ -202,8 +201,8 @@
   a format string and expect the following results.
  </para>
  <programlisting>
-  # <command>scanelf</command> <option>-BF</option> 'file %f needs %n; funky time!' /bin/bash
-  file bash needs libncurses.so.5,libdl.so.2,libc.so.6; funky time!
+  # <command>scanelf</command> <option>-BF</option> "file %f needs %n; funky time" /bin/bash
+  file bash needs libncurses.so.5,libdl.so.2,libc.so.6; funky time
  </programlisting>
  <para>
   Note that when you use a format string, generally information related flags
@@ -215,6 +214,8 @@
  </para>
  <para>
   There are three characters that introduce conversion specifiers.
+ </para>
+ <para>
   <itemizedlist>
    <listitem><para><emphasis remap='B'>%</emphasis> - replace with info</para></listitem>
    <listitem><para><emphasis remap='B'>#</emphasis> - silent boolean match</para></listitem>
@@ -224,6 +225,8 @@
  <para>
   And there are a number of conversion specifiers.  We try to match up the
   specifier with corresponding option.
+ </para>
+ <para>
   <itemizedlist>
    <listitem><para><emphasis remap='B'>a</emphasis> - machine (EM) type</para></listitem>
    <listitem><para><emphasis remap='B'>b</emphasis> - bind flags</para></listitem>
@@ -252,6 +255,13 @@
 </refsect1>
 
 <refsect1 id='elf-etypes'>
+ <title>Symbol Matching</title>
+ <para>
+  A <emphasis remap='B'>-</emphasis> prefix will only show undefined references while a <emphasis remap='B'>+</emphasis> prefix will only show defined references while no prefix will show both.
+ </para>
+</refsect1>
+
+<refsect1 id='elf-etypes'>
  <title>ELF ETYPES</title>
  <para>
   You can narrow your search by specifying the ELF object file type (ETYPE).
@@ -261,6 +271,8 @@
  <para>
   Here is the normal list available for your pleasure.  You of course are free
   to specify any numeric value you want.
+ </para>
+ <para>
   <itemizedlist>
    <listitem><para><emphasis remap='B'>0 - ET_NONE</emphasis> - unknown type</para></listitem>
    <listitem><para><emphasis remap='B'>1 - ET_REL</emphasis> - relocatable file</para></listitem>






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils/man: scanelf.docbook
@ 2010-02-14 18:14 Mike Frysinger (vapier)
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger (vapier) @ 2010-02-14 18:14 UTC (permalink / raw
  To: gentoo-commits

vapier      10/02/14 18:14:07

  Modified:             scanelf.docbook
  Log:
  trim spurious periods

Revision  Changes    Path
1.12                 pax-utils/man/scanelf.docbook

file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/man/scanelf.docbook?r1=1.11&r2=1.12

Index: scanelf.docbook
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/man/scanelf.docbook,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- scanelf.docbook	14 Feb 2010 17:52:31 -0000	1.11
+++ scanelf.docbook	14 Feb 2010 18:14:07 -0000	1.12
@@ -52,11 +52,11 @@
   </varlistentry>
   <varlistentry>
    <term><option>-b</option>, <option>--bind</option></term>
-   <listitem><para>Print symbol binding information (lazy or now).</para></listitem>
+   <listitem><para>Print symbol binding information (lazy or now)</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-D</option>, <option>--endian</option> </term>
-   <listitem><para>Print ELF endianness (big/little/...).</para></listitem>
+   <listitem><para>Print ELF endianness (big/little/...)</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-E</option>, <option>--etype</option> <replaceable>ETYPE</replaceable></term>
@@ -68,7 +68,7 @@
   </varlistentry>
   <varlistentry>
    <term><option>-F</option>, <option>--format</option> <replaceable>FORMAT</replaceable></term>
-   <listitem><para>Use specified format for output; see the <link><emphasis remap='B'>FORMAT</emphasis></link> section for more information.</para></listitem>
+   <listitem><para>Use specified format for output; see the <link><emphasis remap='B'>FORMAT</emphasis></link> section for more information</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-f</option>, <option>--from</option> <replaceable>FILE</replaceable></term>
@@ -88,11 +88,11 @@
   </varlistentry>
   <varlistentry>
    <term><option>-i</option>, <option>--interp</option></term>
-   <listitem><para>Print the interpreter information (.interp/PT_INTERP).</para></listitem>
+   <listitem><para>Print the interpreter information (.interp/PT_INTERP)</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-k</option>, <option>--section</option> <replaceable>SECTION</replaceable></term>
-   <listitem><para>Find ELFs with the specified section.</para></listitem>
+   <listitem><para>Find ELFs with the specified section</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-L</option>, <option>--ldcache</option></term>
@@ -116,23 +116,23 @@
   </varlistentry>
   <varlistentry>
    <term><option>-n</option>, <option>--needed</option></term>
-   <listitem><para>Print libraries the ELF is linked against (DT_NEEDED).</para></listitem>
+   <listitem><para>Print libraries the ELF is linked against (DT_NEEDED)</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-O</option>, <option>--perms</option> <replaceable>PERMS</replaceable></term>
-   <listitem><para>Print only ELF files with matching specified octal bits (like 755).</para></listitem>
+   <listitem><para>Print only ELF files with matching specified octal bits (like 755)</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-o</option>, <option>--file</option> <replaceable>FILE</replaceable></term>
-   <listitem><para>Write output stream to specified filename.</para></listitem>
+   <listitem><para>Write output stream to specified filename</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-p</option>, <option>--path</option></term>
-   <listitem><para>Scan all directories in PATH environment.</para></listitem>
+   <listitem><para>Scan all directories in PATH environment</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-q</option>, <option>--quiet</option></term>
-   <listitem><para>Only output 'bad' things.</para></listitem>
+   <listitem><para>Only output 'bad' things</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-R</option>, <option>--recursive</option></term>
@@ -140,19 +140,19 @@
   </varlistentry>
   <varlistentry>
    <term><option>-r</option>, <option>--rpath</option></term>
-   <listitem><para>Print runpaths encoded in the ELF (DT_RPATH/DT_RUNPATH).</para></listitem>
+   <listitem><para>Print runpaths encoded in the ELF (DT_RPATH/DT_RUNPATH)</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-S</option>, <option>--soname</option></term>
-   <listitem><para>Print the ELF's shared library name (DT_SONAME).</para></listitem>
+   <listitem><para>Print the ELF's shared library name (DT_SONAME)</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-s</option>, <option>--symbol</option> <replaceable>SYMBOL</replaceable></term>
-   <listitem><para>Find the specified symbol; see <link><emphasis remap='B'>SYMBOL MATCHING</emphasis></link> for more info.</para></listitem>
+   <listitem><para>Find the specified symbol; see <link><emphasis remap='B'>SYMBOL MATCHING</emphasis></link> for more info</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-T</option>, <option>--textrels</option></term>
-   <listitem><para>Locate cause of TEXTRELs via objdump.</para></listitem>
+   <listitem><para>Locate cause of TEXTRELs via objdump</para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-t</option>, <option>--textrel</option></term>






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils/man: scanelf.docbook
@ 2011-12-21 22:21 Mike Frysinger (vapier)
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger (vapier) @ 2011-12-21 22:21 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/21 22:21:51

  Modified:             scanelf.docbook
  Log:
  document extended -k/-N/-s syntax

Revision  Changes    Path
1.13                 pax-utils/man/scanelf.docbook

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/man/scanelf.docbook?r1=1.12&r2=1.13

Index: scanelf.docbook
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/man/scanelf.docbook,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- scanelf.docbook	14 Feb 2010 18:14:07 -0000	1.12
+++ scanelf.docbook	21 Dec 2011 22:21:51 -0000	1.13
@@ -92,7 +92,11 @@
   </varlistentry>
   <varlistentry>
    <term><option>-k</option>, <option>--section</option> <replaceable>SECTION</replaceable></term>
-   <listitem><para>Find ELFs with the specified section</para></listitem>
+   <listitem><para>
+    Find ELFs with the specified section.  May be specified multiple times to
+    match multiple sections simultaneously.  See
+    <link><emphasis remap='B'>SECTION MATCHING</emphasis></link> for more info.
+   </para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-L</option>, <option>--ldcache</option></term>
@@ -112,7 +116,11 @@
   </varlistentry>
   <varlistentry>
    <term><option>-N</option>, <option>--lib</option> <replaceable>SONAME</replaceable></term>
-   <listitem><para>Find ELFs that need the specified SONAME</para></listitem>
+   <listitem><para>
+    Find ELFs that need the specified SONAME.  May be specified multiple times
+    to match multiple SONAMEs simultaneously.  See
+    <link><emphasis remap='B'>SONAME MATCHING</emphasis></link> for more info.
+   </para></listitem>
   </varlistentry>
   <varlistentry>
    <term><option>-n</option>, <option>--needed</option></term>
@@ -254,12 +262,51 @@
  </para>
 </refsect1>
 
-<refsect1 id='elf-etypes'>
+<refsect1 id='symbol-matching'>
  <title>Symbol Matching</title>
  <para>
-  A <emphasis remap='B'>-</emphasis> prefix will only show undefined references
-  while a <emphasis remap='B'>+</emphasis> prefix will only show defined
-  references while no prefix will show both.
+  The string specified takes the form <emphasis remap='B'>[%[modifiers]%][[+-]&lt;symbol name&gt;][,[.....]]</emphasis>.
+ </para>
+ <para>
+  If the <option>symbol name</option> is empty, then all symbols are matched.
+ </para>
+ <para>
+  If the <option>symbol name</option> is a glob ("<emphasis remap='B'>*</emphasis>"),
+  then all symbols are dumped in a debug format.  Do not rely on the structure
+  of this output as it changes whenever we feel like it.
+ </para>
+ <para>
+  If the first char of the symbol name is a plus ("<emphasis remap='B'>+</emphasis>"),
+  then only match defined symbols.  If it's a minus ("<emphasis remap='B'>-</emphasis>"),
+  only match undefined symbols.  When we say "defined", we mean the symbol is
+  defined in the ELF vs having an external reference.
+ </para>
+ <para>
+  Putting modifiers in between the percent signs ("<emphasis remap='B'>%</emphasis>")
+  allows for more in depth filters.  There are groups of modifiers.  If you
+  don't specify a member of a group, then all types in that group are matched.
+ </para>
+ <para>
+  <itemizedlist>
+   <listitem><para><emphasis remap='B'>STT group</emphasis> (symbol type)</para></listitem>
+   <listitem><para><emphasis remap='B'>n</emphasis> - STT_NOTYPE</para></listitem>
+   <listitem><para><emphasis remap='B'>o</emphasis> - STT_OBJECT</para></listitem>
+   <listitem><para><emphasis remap='B'>f</emphasis> - STT_FUNC</para></listitem>
+   <listitem><para><emphasis remap='B'>F</emphasis> - STT_FILE</para></listitem>
+   <listitem><para><emphasis remap='B'>STB group</emphasis> (symbol binding/visibility)</para></listitem>
+   <listitem><para><emphasis remap='B'>l</emphasis> - STB_LOCAL</para></listitem>
+   <listitem><para><emphasis remap='B'>g</emphasis> - STB_GLOBAL</para></listitem>
+   <listitem><para><emphasis remap='B'>w</emphasis> - STB_WEAK</para></listitem>
+   <listitem><para><emphasis remap='B'>SHN group</emphasis> (section header)</para></listitem>
+   <listitem><para><emphasis remap='B'>u</emphasis> - SHN_UNDEF</para></listitem>
+   <listitem><para><emphasis remap='B'>a</emphasis> - SHN_ABS</para></listitem>
+   <listitem><para><emphasis remap='B'>c</emphasis> - SHN_COMMON</para></listitem>
+  </itemizedlist>
+ </para>
+ <para>
+  You can search for multiple symbols simultaneously by using a comma ("<emphasis remap='B'>,</emphasis>")
+  to separate different searches.  Every symbol that matches will be displayed
+  while unmatched symbols will not.
  </para>
 </refsect1>
 
@@ -299,6 +346,22 @@
  </para>
 </refsect1>
 
+<refsect1 id='section-matching'>
+ <title>Section Matching</title>
+ <para>
+  A <emphasis remap='B'>!</emphasis> prefix will only show ELF's that do not
+  have the specified section.
+ </para>
+</refsect1>
+
+<refsect1 id='needed-matching'>
+ <title>Needed SONAME Matching</title>
+ <para>
+  A <emphasis remap='B'>!</emphasis> prefix will only show ELF's that do not
+  depend on the specified library.
+ </para>
+</refsect1>
+
 &reftail;
 
 </refentry>






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils/man: scanelf.docbook
@ 2012-01-25  3:47 Mike Frysinger (vapier)
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger (vapier) @ 2012-01-25  3:47 UTC (permalink / raw
  To: gentoo-commits

vapier      12/01/25 03:47:45

  Modified:             scanelf.docbook
  Log:
  document new --use-ldpath/--root options

Revision  Changes    Path
1.14                 pax-utils/man/scanelf.docbook

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/man/scanelf.docbook?r1=1.13&r2=1.14

Index: scanelf.docbook
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/man/scanelf.docbook,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- scanelf.docbook	21 Dec 2011 22:21:51 -0000	1.13
+++ scanelf.docbook	25 Jan 2012 03:47:45 -0000	1.14
@@ -198,6 +198,22 @@
    <term><option>-z</option>, <option>--setpax</option> <replaceable>FLAGS</replaceable></term>
    <listitem><para>Sets EI_PAX/PT_PAX_FLAGS to specified flags (use with <option>-Xx</option>)</para></listitem>
   </varlistentry>
+  <varlistentry>
+   <term><option>--use-ldpath</option></term>
+   <listitem><para>
+    Use the ld.so.conf paths to find the full path to libraries (use in
+    conjunction with --needed).
+   </para></listitem>
+  </varlistentry>
+  <varlistentry>
+   <term><option>--root</option> <replaceable>PATH</replaceable></term>
+   <listitem><para>
+    Search the specified root tree instead of /.  Generally paired with options
+    like -l or -p.  This implicitly treats all paths specified on the command
+    line as relative to the root, so be sure to omit it if you are explicitly
+    listing ELFs.
+   </para></listitem>
+  </varlistentry>
  </variablelist>
 </refsect1>
 






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils/man: scanelf.docbook
@ 2014-06-18  3:16 Mike Frysinger (vapier)
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger (vapier) @ 2014-06-18  3:16 UTC (permalink / raw
  To: gentoo-commits

vapier      14/06/18 03:16:52

  Modified:             scanelf.docbook
  Log:
  add support for symbol visibility

Revision  Changes    Path
1.15                 pax-utils/man/scanelf.docbook

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/man/scanelf.docbook?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/man/scanelf.docbook?r1=1.14&r2=1.15

Index: scanelf.docbook
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/man/scanelf.docbook,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- scanelf.docbook	25 Jan 2012 03:47:45 -0000	1.14
+++ scanelf.docbook	18 Jun 2014 03:16:52 -0000	1.15
@@ -309,11 +309,17 @@
    <listitem><para><emphasis remap='B'>o</emphasis> - STT_OBJECT</para></listitem>
    <listitem><para><emphasis remap='B'>f</emphasis> - STT_FUNC</para></listitem>
    <listitem><para><emphasis remap='B'>F</emphasis> - STT_FILE</para></listitem>
-   <listitem><para><emphasis remap='B'>STB group</emphasis> (symbol binding/visibility)</para></listitem>
+   <listitem><para><emphasis remap='B'>STB group</emphasis> (symbol binding)</para></listitem>
    <listitem><para><emphasis remap='B'>l</emphasis> - STB_LOCAL</para></listitem>
    <listitem><para><emphasis remap='B'>g</emphasis> - STB_GLOBAL</para></listitem>
    <listitem><para><emphasis remap='B'>w</emphasis> - STB_WEAK</para></listitem>
+   <listitem><para><emphasis remap='B'>STV group</emphasis> (symbol visibility)</para></listitem>
+   <listitem><para><emphasis remap='B'>p</emphasis> - STV_DEFAULT</para></listitem>
+   <listitem><para><emphasis remap='B'>i</emphasis> - STV_INTERNAL</para></listitem>
+   <listitem><para><emphasis remap='B'>h</emphasis> - STV_HIDDEN</para></listitem>
+   <listitem><para><emphasis remap='B'>P</emphasis> - STV_PROTECTED</para></listitem>
    <listitem><para><emphasis remap='B'>SHN group</emphasis> (section header)</para></listitem>
+   <listitem><para><emphasis remap='B'>d</emphasis> - defined</para></listitem>
    <listitem><para><emphasis remap='B'>u</emphasis> - SHN_UNDEF</para></listitem>
    <listitem><para><emphasis remap='B'>a</emphasis> - SHN_ABS</para></listitem>
    <listitem><para><emphasis remap='B'>c</emphasis> - SHN_COMMON</para></listitem>





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-18  3:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25  3:47 [gentoo-commits] gentoo-projects commit in pax-utils/man: scanelf.docbook Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2014-06-18  3:16 Mike Frysinger (vapier)
2011-12-21 22:21 Mike Frysinger (vapier)
2010-02-14 18:14 Mike Frysinger (vapier)
2009-12-21  4:30 Mike Frysinger (vapier)
2008-06-17 17:07 Ned Ludd (solar)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox