Section: RPM Development Tools (1)
Updated: 2020-01-31
Page Index


annobin - Annobin  




The run-on-binaries-in script allows other scripts, or programs, to be run on the executable files contained inside archives. This includes rpm files, tar and ar files and compressed files.

The script does not recurse into directories, but this can be handled by the "find" command, like this:

          find . -type f -exec run-on-binaries-in <script-to-run> {} \;

The script accepts the following command line options:

Displays the usage of the script and then exits.
Displays the version of the script.
Enables verbose mode, causing the script to detail each action it takes.

If this option is repeated it has the special effect of cancelling out the automatic addition of the -i to recursive invocations of the script.

Do not include the name of script in the out generated by the script.
Do not report file types that are not supported or recognised.

This option is automatically enabled when the script is recursively invoked on an archive, unless the -V -V has been enabled. This is because it is assumed that archives are likely to contain files that do not need to be scanned.

Add this text to the output from the script when it runs the program on a normal executable.
Directory to use to store temporary files.
Specifies a file containing a list of other files to examine, one per line.
Specifies a file containing a list of files not to examine, one per line. Blank lines and comments are ignored. Text after a file's name is also ignored. Filenames should start at the beginning of a line.
Stops processing of command line options. This allows the script to be run with a program whoes name starts with a dash.




Copyright (c) 2018 - 2020 Red Hat.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''.