forked from lvc/abi-compliance-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
A tool for checking backward API/ABI compatibility of a C/C++ library
License
wdv4758h/abi-compliance-checker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NAME: ABI Compliance Checker (ACC) - a tool for checking backward binary and source-level compatibility of a C/C++ software library. The tool checks header files and shared objects of old and new versions and analyzes changes in API/ABI that may break binary and/or source compatibility: changes in calling stack, v-table changes, removed symbols, renamed fields, etc. The tool is intended for developers of software libraries and Linux maintainers who are interested in ensuring backward compatibility, i.e. allow old applications to run or to be recompiled with newer library versions. The tool is developed by Andrey Ponomarenko. You can order additional reports for visualization of the ABI structure and high detailed binary compatibility analysis here: http://abi-laboratory.pro/ INSTALL: sudo make install prefix=/usr REQUIRES: Perl 5 G++ GNU Binutils Ctags USAGE: abi-compliance-checker -lib NAME -old OLD.xml -new NEW.xml OLD.xml and NEW.xml are XML-descriptors: <version> 1.0 </version> <headers> /path/to/headers/ </headers> <libs> /path/to/libraries/ </libs> ADV. USAGE: For advanced usage, see doc/Readme.html or output of --help option. COMPATIBILITY: ABI Dumper >= 0.98 (https://github.com/lvc/abi-dumper) USAGE WITH ABI DUMPER: 1. Library should be compiled with "-g -Og" GCC options to contain DWARF debug info 2. Create ABI dumps for both library versions using the ABI Dumper (https://github.com/lvc/abi-dumper) tool: abi-dumper OLD.so -o ABI-0.dump -lver 0 abi-dumper NEW.so -o ABI-1.dump -lver 1 3. Compare ABI dumps: abi-compliance-checker -l NAME -old ABI-0.dump -new ABI-1.dump
About
A tool for checking backward API/ABI compatibility of a C/C++ library
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Perl 99.1%
- Other 0.9%