Scan your whole stack
Are you using abicheck?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.9.0
abicheck was last scanned on 27 Nov 2026 at version 0.9.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.9.0 LATEST | 27 Nov 2026 | No rules fired |
| 0.8.0 | 7 Nov 2026 | No rules fired |
| 0.7.0 | 14 Oct 2026 | No rules fired |
Findings for v0.9.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.9.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
See how a C/C++ library's API/ABI changed, know whether the change breaks the programs already built against it, and gate it in CI.
Documentation · Getting started · Vision · Which command do I need? · Benchmarks · Migrate from libabigail
Each workflow compared the same 190 Release library pairs at abicheck revision d9983e4a7cde.
Green counts correct definitive interface decisions, amber counts advisory or change signals,
and red counts unresolved cases, including wrong classifications, errors and timeouts.
The cohort includes 129 ABI/API breaks, 21 risks and 40 compatible or stable controls.
You ship a shared library. Other people's programs were compiled against version 1, and you are about to release version 2. If an exported function vanished, a struct field moved, a vtable slot shifted, or an enum was renumbered, those programs crash, corrupt data silently, or refuse to load. No compiler warns you, and a test suite that rebuilds from source never sees it.
abicheck compares the two versions, with whatever headers, debug info, build data, and sources you have, and tells you what changed, what breaks, why, and which version bump you owe. Compatible additions are reported too, because a library's supported surface growing is a change its maintainer should see and confirm, not "nothing happened".
ABI/API compatibility analysis is the foundation. The direction, recorded in vision.md, is to make the whole evolution of a library's surface visible, intentional, and traceable: what was added, removed, or modified; which declared contract and which known consumers it affects; what the evidence could and could not establish; and whether the project's versioning policy accepts it.
abicheck compare libfoo.so.1 libfoo.so.2 --header old=include/v1/ --header new=include/v2/
BREAKING) apart from source-only breaks (API_BREAK). It is the only tool in the benchmark that reports API_BREAK as its own verdict; ABICC splits binary and source into separate reports without an equivalent verdict.abidiff scores 28.5% and ABICC 44.6%.The run below compares two builds where version 2 only grows the ABI surface: two new functions, a new exported variable, and a new enum member. The HTML report, rendered from real output:
The default scalar comparison is a bounded terminal summary; request the complete Markdown, JSON, SARIF, or JUnit document with repeatable -o FORMAT=DESTINATION exports. The summary states material evidence limits without listing irrelevant platform detectors:
$ abicheck compare v1/libfoo.so.1 v2/libfoo.so.2 --header old=v1/foo.h --header new=v2/foo.h
Evidence coverage:
L0 binary metadata present, high confidence: elf
L1 debug info present, high confidence: DWARF
L2 public header AST present, high confidence: header-scoped
L3 build context not_collected
L4 source ABI replay not_collected
L5 source graph summary present, reduced confidence
Checks enabled for this scan (and why others are not):
[on] Symbol presence & linkage (added/removed/SONAME) — from the binary's dynamic symbol table
[on] Type layout, members, vtables, signatures — from DWARF/PDB debug info
[on] API decls absent from the symbol table; public-surface scoping — from the public header AST
[off] Build-flag & toolchain drift (visibility, std, ABI flags) — no build data
[off] Macros, default args, inline/template/constexpr bodies — no source replay evidence
[on] Impact / call / reachability graph — from the source graph summary
# ABI Report: libfoo.so.1
| | |
|---|---|
| **Old version** | `old` |
| **New version** | `new` |
| **Verdict** | ✅ `COMPATIBLE` |
| Breaking changes | 0 |
| Source-level breaks | 0 |
| Deployment risk changes | 0 |
| Compatible changes | 4 |
## Analysis Confidence
| Field | Value |
|---|---|
| Confidence | HIGH |
| Evidence tier | `header_aware` |
| Evidence tiers | `elf`, `dwarf`, `dwarf_advanced`, `header` |
| Coverage gap | Detector 'fingerprint_renames' disabled: neither side was dumped in elf_only_mode (both carry headers or debug info); fingerprint rename matching runs only on stripped, symbol-only dumps |
| Coverage gap | Detector 'kabi' disabled: missing Module.symvers (kABI) metadata |
| Coverage gap | Detector 'dwarf_layout_coherence' disabled: neither snapshot has a DWARF-vs-header-AST layout coherence mismatch |
| Coverage gap | Detector 'pe' disabled: missing PE metadata |
| Coverage gap | Detector 'macho' disabled: missing Mach-O metadata |
| Coverage gap | Detector 'python_ext' disabled: missing CPython extension metadata |
| Coverage gap | Detector 'python_api' disabled: missing Python API surface (no .pyi stub recovered) |
| Coverage gap | Detector 'sycl' disabled: missing SYCL metadata |
> **Policy**: `strict_abi`
## Release Recommendation
| Field | Value |
|---|---|
| Version bump | 🟢 **MINOR** |
| SONAME action | `no_bump_needed` |
| Recommendation state | `actionable` |
Backward-compatible additions to the public API — release a new MINOR version.
## ✅ Additions
- **enum_member_added**: Enum member added: color::ALPHA (`3`)
> New enumerator may shift subsequent values in non-fixed enums; switch defaults may miss the new case.
- **func_added**: New public function: point_translate (`point_translate`) — `v2/foo.h:7`
> New function available; existing binaries are unaffected.
- **func_added**: New public function: color_name (`color_name`) — `v2/foo.h:8`
> New function available; existing binaries are unaffected.
- **var_added**: New public variable: point_api_version — `v2/foo.h:9`
> New variable available; existing binaries are unaffected.
Exit code 0, with a MINOR version-bump recommendation and no SONAME change. Had a struct field moved or a function vanished, the verdict would be BREAKING, the recommendation MAJOR with an SONAME bump, and the exit code 4. Every finding names the change kind and the consumer-visible consequence; where the evidence allows, it also carries the header location and the exported symbols it reaches.
abicheck treats compatibility as a question of evidence. The more independent sources you give it, the more it can prove and the fewer false positives it raises. You provide up to five; each adds facts the previous one cannot see.
flowchart LR
subgraph give["What you give it"]
direction TB
L0["L0 · Binary<br/>.so · .dll · .dylib"]
L1["L1 · Debug info<br/>DWARF · PDB · BTF · CTF"]
L2["L2 · Public headers<br/>castxml / clang AST"]
L3["L3 · Build data<br/>compile DB · CMake · Bazel"]
L4["L4 · Sources<br/>per-TU source replay"]
end
L0 & L1 & L2 & L3 & L4 --> X["Overlay all evidence<br/>worst-wins verdict"]
X --> V["BREAKING · API_BREAK<br/>COMPATIBLE_WITH_RISK · COMPATIBLE"]
V --> O["Markdown · JSON · SARIF · HTML · JUnit<br/>exit code 0 · 2 · 4"]
style X fill:#fff3cd,stroke:#d4a017
style V fill:#f8d7da,stroke:#c0392b
style O fill:#d4edda,stroke:#2e8b57
| Layer | You provide | Read by | What it newly reveals |
|---|---|---|---|
| L0 | Just the binary, even stripped | ELF / PE / Mach-O parsers | Exported symbols, SONAME, symbol versions, visibility, dependencies |
| L1 | + Debug symbols (-g build or sidecar) |
DWARF, PDB, BTF, CTF | Struct sizes and field offsets, enum values, vtable slots, calling conventions, packing |
| L2 | + Public headers (-H include/) |
castxml or clang AST | Signatures, overloads, access levels, noexcept/final/explicit, templates, what is public vs internal |
| L3 | + Build data (--build-info build/) |
compile DB, CMake, Ninja, Bazel, Make | The flags the library was actually built with: -std, _GLIBCXX_USE_CXX11_ABI, -fvisibility, export maps |
| L4 | + Sources | Per-translation-unit source replay | Facts that never reach the binary: macro and constexpr values, default-argument values, inline and template bodies |
The layers are additive, not a fallback chain. abicheck overlays everything you give it and computes one worst-wins verdict under an authority rule: artifact evidence (L0 to L2) decides the shipped-ABI verdict, while build and source evidence (L3, L4) explains, localizes, scopes, or adds findings of its own, but never deletes an artifact-proven break. A derived source-reachability graph, L5, is computed from whatever evidence is present (reduced confidence from headers alone, full confidence with build and source data) and feeds the impact and reachability checks; it is never an input.
With less input abicheck degrades gracefully instead of failing. abicheck dump --dry-run reports which layers it found. The best input is old library + new library + matching headers + debug info + build data. Read more in Evidence & Detectability and Architecture.
Measured on the examples/ catalog, which holds 232 cases today: 216 of them are compare-style cases with a minimum-evidence label, and the table shows the cumulative share of those whose every expected change kind is discovered once a layer is present.
| Evidence available | Cases fully covered |
|---|---|
| Just the binary (L0) | 64 / 185 (35%) |
| + Debug symbols (L1) | 133 / 185 (72%) |
| + Public headers (L2) | 157 / 185 (85%) |
| + Build data (L3) | 167 / 185 (90%) |
| + Sources (L4) | 172 / 185 (93%) |
| + Derived source graph (L5) | 185 / 185 (100%) |
This is a discoverability floor, not an accuracy score; the tool comparison page explains the methodology and the handful of cases whose verdict is reachable earlier than their last correlated kind.
| Workflow | Inputs and result |
|---|---|
| libabigail / abidiff | Builds a typed ABI corpus from ELF and available DWARF, CTF or BTF debug information; explains ABI changes through types reachable from exported interfaces. Header paths can filter that corpus. |
| ABICC | Supports headers and libraries via XML descriptors, or ABI dumps from ABI Dumper; reports binary and source compatibility separately, including type, signature and vtable changes. |
| abicheck | Combines binaries with available debug info, public headers, build context and sources; distinguishes ABI and source-only breaks, checks dependencies and declared deployment requirements, and reports evidence limitations. |
This is a workflow comparison, not an accuracy ranking. Results depend on the inputs and backend; compatible interfaces do not establish behavioral equivalence. Sources: abidiff manual, ABICC documentation, and abicheck evidence model. See the detailed comparison and benchmark methodology for measured results and their scope.
Full-catalog benchmark from 2026-07-18, when the catalog held 193 cases, every tool pointed at the whole catalog blind. A crash, hang, or "no mode for this case" counts as a miss, same as a wrong verdict.
| Tool | Accuracy | False positives | False negatives |
|---|---|---|---|
| abicheck (headers, L2) | 95.9% | 0 | 8 |
| abicheck (+ build and sources, L3 to L5) | 99.5% | 0 | 1 |
libabigail abidiff (with or without headers) |
28.5% | 5 | 133 |
| ABICC (abi-dumper mode) | 44.6% | 8 | 99 |
| ABICC (xml/legacy mode) | 40.4% | 7 | 108 |
Run against abicheck 0.5.0, libabigail 2.4.0, and ABICC 2.3. The table is pinned to commit ffa860c and the 193-case catalog of that date; the exact reproduction procedure, ground-truth digest, per-case matrix, and the pinned cross-tool subset used for release-to-release tracking are in Tool Comparison & Benchmarks. python scripts/benchmark_comparison.py --suite all reruns the current catalog against the current checkout rather than reproducing that historical run.
abidiff is still the right choice for a sub-second sanity check, especially on a stripped binary where only the symbol table is available. For anything you gate a release on, the numbers above are the argument.
Full installation (recommended): conda-forge bundles abicheck with a castxml that passes abicheck's own version gate, so header analysis (L2) works out of the box.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.