← 全部工具

abi-dumper

热度 85 更新于 开发与构建

Dump ABI of an ELF object containing DWARF debug info

homebrewauto-collected

安装

Homebrew
brew install abi-dumper

通过 Homebrew 安装。

ABI Dumper 1.4 ==============

ABI Dumper — a tool to dump ABI of an ELF object containing DWARF debug info.

Contents --------

  • About
  • Install
  • Usage
  • Filter public ABI
  • Check for ABI changes

About -----

The tool is intended to be used with ABI Compliance Checker tool for tracking ABI changes of a C/C++ library or kernel module: https://github.com/lvc/abi-compliance-checker

The tool is developed by Andrey Ponomarenko.

Install -------

sudo make install prefix=/usr

###### Requires

  • Perl 5
  • Elfutils (eu-readelf)
  • GNU Binutils
  • Universal Ctags (https://github.com/universal-ctags/ctags)
  • Vtable Dumper = 1.1 (https://github.com/lvc/vtable-dumper)
  • ABI Compliance Checker = 2.2 (https://github.com/lvc/abi-compliance-checker)
  • GCC C++

Usage -----

Input objects should be compiled with -g -Og -fno-eliminate-unused-debug-types additional options to contain DWARF debug info.

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

###### Docker