IT lexicon › Programming › libabigail

libabigail

Programming På svenska → Updated: 2026-11-06
More info
Creator
Dodji Seketeli (Red Hat)
Type
Library and tools
Website
sourceware.org

A library and toolkit that compares two binaries and tells you what broke the ABI.

The tools read ELF files and their DWARF debug information and build a model of every exported function, type and variable. abidiff compares two versions of a library, abipkgdiff does the same for whole RPM or Debian packages, and abidw dumps the model as XML so it can be checked in and diffed against later builds.

The project started at Red Hat, and Fedora uses it to flag package updates that break compatibility before they reach users. The typical finding is dull and expensive: a field added in the middle of a public struct, an enum that changed, a symbol that quietly disappeared. None of it shows up in the source as an API break, which is the whole point of looking at the binary instead.

← Back to the lexicon