Repository navigation
Downloads
Unpack the archive for your system and run
bin/adalang_analyzer (bin\adalang_analyzer.exe on Windows);
nothing needs to be installed beside it. The CVC5 and Z3
solvers that --verify runs are in the same bin
directory. Keep a GNAT toolchain on PATH (or installed by
Alire): the analyzer asks its gnatls where the Ada run-time
library's sources are.
| Archive | System |
|---|---|
adalang_analyzer-1.17.7-linux-x86_64.tar.gz |
Linux on x86-64 with the GNU C library 2.35 or later (Ubuntu 22.04, Debian 12 and later) |
adalang_analyzer-1.17.7-macos-arm64.tar.gz |
macOS 26 or later on Apple silicon |
adalang_analyzer-1.17.7-windows-x86_64.zip |
Windows 10 or later on x86-64 |
On macOS, an archive a browser downloaded is quarantined:
xattr -dr com.apple.quarantine adalang_analyzer-1.17.7-macos-arm64
after unpacking it, or download it with curl -LO.
SHA256SUMS holds the archives' checksums; each archive's
THIRD-PARTY.md lists the libraries and solvers it contains
and their licenses.
Changes
The fixes of what running 1.17.6 on the Ironclad kernel (a SPARK and Ada
kernel, x86_64 and riscv64) showed. Two of its real defects, both
confirmed by GNATprove, are reported upstream (Ironclad#29, #30).
What to expect: on the ten corpora, with every preset (run of
2026-11-28), every obligation has the verdict it had with 1.17.6, so the
gap ledger stays at --verify proving 12,038 of the 15,043 checks
GNATprove proves (80.0%). Uninitialized_Output goes from 71 sites to
69 (one in gnatcoll-core, one in AWS), and no other finding changes. The
SPARK testsuite, the five lanes with GNATprove's log and coreboot's
libgfxinit and libhwbase give what 1.17.6 gave; of the other repositories
we sweep, one false Uninitialized_Output goes (ravenadm). On Ironclad,
per configuration, 25 false Uninitialized_Output, 6 Overwritten_Assignment
(5 on riscv64) and 1 Infinite_Loop go, and on x86_64 1
Global_Contract_Mismatch; both real defects are still reported. Code
that sets its out parameters before anything that can raise, writes them
through an overlay or an element loop, or passes them as a view
conversion gets fewer false Uninitialized_Output findings.
Fixed
Overwritten_Assignmentreported a flag set before statements that can
raise and reset after them, when an exception handler of the
subprogram reads it:Locked := True;, a loop that can raise,
Locked := False;, andif Locked then Release;in the handler.
The value is no longer taken as lost when a statement between the two
writes can raise and an enclosing handler reads the target
(FP-191).Uninitialized_Outputtook an exception handler for one that can run
before anything else, even where the out parameter is set by the
first statements, which cannot raise (Count := 0;and then a loop
that can). A handler now starts from what the declarations set and
what the statements set before the first one that can raise. Only
statements that provably cannot raise count: null statements, pragmas
that check nothing, and assignments to a whole variable of a value no
check can fail for its subtype (FP-192).Uninitialized_Outputdid not takefor C of Buffer loop C := ...; end loop;for a write of all ofBuffer(FP-193), nor a write of
an object declared at the parameter's address (X : T with Import, Address => Param'Address;, or an address clause;FP-194), nor an
out actual given as a view conversion,Get (Unsigned_32 (Result))
(FP-195).Global_Contract_Mismatchreported the read of anOutputglobal that
a called subprogram with no Global aspect gives a value first
(Normalize; Seen := Res;, whereNormalizesetsRes). Such a call
now writes the global first when the callee's body does so on every path
to its end; a callee that may return before the write, or that has a
handler, does not. With--verify, the data dependencies of such a
caller are proved, as GNATprove proves them (FP-196).Infinite_Loopreported a plain loop that agototo a label after
it leaves (FP-197).