ABI Compliance Checker Options

Contents

Information Options

  • -h|-help

Print help message.

  • -v|-version

Print version information.

  • -dumpversion

Print the tool version and don't do anything else.

General Options

  • -l|-library <name>

Library name (without version).
It affects only on the path and the title of the report.

  • -d1|-descriptor1 <path>

Path to the descriptor of 1st library version.

  • -d2|-descriptor2 <path>

Path to the descriptor of 2nd library version.

  • -dump|-dump-abi <descriptor.xml>
Dump library ABI to gzipped TXT format file. You can transfer it
anywhere and pass instead of the XML-descriptor. Also it may be
used for debugging the tool.

Extra Options

  • -d|-descriptor-template

Create XML-descriptor template ./VERSION.xml

  • -app|-application <path>
This option allow to specify the application that should be tested for portability
to the new library version.
  • -check-implementation
Compare canonified disassembled binary code of shared objects to detect
changes in the implementation. Create section 'Changes in Implementation' in the report.
  • -s|-strict

Treat all compatibility warnings as problems.

  • -headers-only
Check header files without shared objects. It is easy to run, but may provide
provide a low quality compatibility report with false positives and without analysis of changes in parameters and data types.

  • -objects-only
Check shared libraries without header files. It is easy to run, but may
a low quality report with false positives and without detecting of added/removed interfaces.

  • -symbols-list <path>

This option allow to specify a file with a list of interfaces (mangled names in C++)
that should be checked, other library interfaces will not be checked.

Other Options

  • -test
Run internal tests. Create two binary incompatible versions of a simple
library and run the tool on it. This option allows to check if the tool works correctly on the system.
  • -time

Show elapsed time.

  • -p|-params <path>

Path to file with the function parameter names. It can be used for improving
report view if the library header files don't contain parameter names.
File format:
func1;param1;param2;param3 ...
func2;param1;param2;param3 ...
...

  • -relpath1|-reldir1 <path>

Replace {RELPATH} in the 1st library descriptor to <path>.

  • -relpath2|-reldir2 <path>

Replace {RELPATH} in the 2nd library descriptor to <path>.