Compare binaries to the officially distributed versions (QNX Neutrino)
qbinaudit [options] [manifest_filename]
QNX Neutrino, Linux, Microsoft Windows
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. |
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.
# 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 ****