abidw man page

abidw — serialize the ABI of an ELF file ====== abidw ======

abidw reads a shared library in ELF format and emits an XML representation of its ABI to standard output.  The emitted representation includes all the globally defined functions and variables, along with a complete representation of their types.  It also includes a representation of the globally defined ELF symbols of the file.  The input shared library must contain associated debug information in DWARF format.

When given the --linux-tree option, this program can also handle a Linux kernel tree.  That is, a directory tree that contains both the vmlinux binary and Linux kernel modules.  It analyses those Linux kernel binaries and emits an XML representation of the interface between the kernel and its module, to standard output.  In this case, we don’t call it an ABI, but a KMI (Kernel Module Interface).  The emitted KMI includes all the globally defined functions and variables, along with a complete representation of their types.  The input binaries must contain associated debug information in DWARF format.

abidw [options] [<path-to-elf-file>]

Alternate Debug Info Files

As of the version 4 of the DWARF specification, Alternate debug information is a GNU extension to the DWARF specification.  It has however been proposed for inclusion into the upcoming version 5 of the DWARF standard.  You can read more about the GNU extensions to the DWARF standard here.

Author

Dodji Seketeli

Info

Nov 22, 2017 Libabigail