| ABI Dumper — a tool to dump ABI of an ELF object containing DWARF debug info. |
| The tool is intended to be used with ABI Compliance Checker tool for tracking |
| ABI changes of a C/C++ library or kernel module. |
| The tool is developed by Andrey Ponomarenko: http://abi-laboratory.pro/ |
| sudo make install prefix=/usr |
| Vtable Dumper (1.0 or newer, https://github.com/lvc/vtable-dumper) |
| abi-dumper libTest.so -o ABI.dump |
| abi-dumper Module.ko.debug |
| abi-dumper lib/libssh.so.3 |
| abi-dumper drm/nouveau/nouveau.ko.debug |
| Input objects should be compiled with -g -Og additional options to contain DWARF debug info. |
| abi-dumper libTest.so -public-headers PATH |
| PATH — path to the install tree of a library |
| abi-dumper libTest.so.0 -o ABIv0.dump |
| abi-dumper libTest.so.1 -o ABIv1.dump |
| abi-compliance-checker -l libTest -old ABIv0.dump -new ABIv1.dump |
| ABI Compliance Checker >= 1.99.24 (https://github.com/lvc/abi-compliance-checker) |
| For advanced usage, see output of --help option. |