Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

qbinaudit

Compare binaries to the officially distributed versions (QNX Neutrino)

Syntax:

qbinaudit [options] [manifest_filename]

Runs on:

QNX Neutrino, Linux, Microsoft Windows

Options:

-s
Be silent; don't display dots to indicate the audit's progress.
-v
Be verbose; display the name of each file processed.
manifest_filename
The name of the manifest file that describes the binaries to audit.

Note: You can specify the name of the manifest filename on the command line. If you don't, the script looks in the known installation location of the manifest files and prompts you to select one.

Description:

The qbinaudit script parses the chosen manifest file to retreive the checksum value and filename for each binary. It then regenerates the binary file's CRC32 checksum and compares it to the one in the manifest file.

If there's a difference, the name of the binary filename is listed on stdout, indicating that this binary doesn't match the version from the officially distributed QNX release. This can happen (for example) if you download the source from the Foundry27 website and modify it.

Examples:

# qbinaudit
Select a manifest file using the prefixed selection number in the square brackets.
[1]: manifest-base
[2]: manifest-sdk-host
[3]: manifest-sdk-ide
[4]: manifest-sdk-target
[5]: manifest-target-gpl
[6]: manifest-target-htmldocs
Select? 1
**** Processing /usr/qnx640//install/qnxsdp/6.4.0/manifest-base
.......................................................................
.......................
Chksum diff: 2187478658 vs 4168080167 /etc/system/config/display.conf
.......................................................................
.......................................................................
..................
Chksum diff: 1717030851 vs 3179076788 /opt/mozilla/firefox/bin/components/xpti.dat
Chksum diff: 3527685377 vs 1769584334 /opt/mozilla/firefox/bin/components/compreg.dat
.......................................................................
.......................................................................
..................
Chksum diff: 652769104 vs 452256802 /usr/lib/ldqnx.so.2
.......................................................................
.......................................................................
.......................................................................
.....................
**** Completed ****

See also:

qconfig, QWinCfg, showlicense