You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sandy 99da0f2c72 pl286 release code 4 years ago
..
GPL-2.0 pl286 release code 4 years ago
INSTALL pl286 release code 4 years ago
LGPL-2.1 pl286 release code 4 years ago
LICENSE pl286 release code 4 years ago
Makefile pl286 release code 4 years ago
Makefile.pl pl286 release code 4 years ago
OWNERS pl286 release code 4 years ago
README pl286 release code 4 years ago
README.google pl286 release code 4 years ago
abi-dumper.pl pl286 release code 4 years ago

README

NAME:
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/

INSTALL:
sudo make install prefix=/usr

REQUIRES:
Perl 5 (5.8 or newer)
Elfutils (eu-readelf)
Vtable Dumper (1.0 or newer, https://github.com/lvc/vtable-dumper)
Universal Ctags

USAGE:
abi-dumper libTest.so -o ABI.dump
abi-dumper Module.ko.debug

EXAMPLES:
abi-dumper lib/libssh.so.3
abi-dumper drm/nouveau/nouveau.ko.debug

NOTE:
Input objects should be compiled with -g -Og additional options to contain DWARF debug info.

FILTER PUBLIC ABI:
abi-dumper libTest.so -public-headers PATH
PATH — path to the install tree of a library

ABI CHECK:
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

COMPATIBILITY:
ABI Compliance Checker >= 1.99.24 (https://github.com/lvc/abi-compliance-checker)

ADV. USAGE:
For advanced usage, see output of --help option.