Repository navigation
AdaLang Analyzer 1.17.3
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.3-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.3-macos-arm64.tar.gz |
macOS 26 or later on Apple silicon |
adalang_analyzer-1.17.3-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.3-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 it on 57 more crates of the Alire index showed,
and of the definite errors the 1.17.2 sweep still left (14 on OpenGLAda, 3
on HiRTOS). On those 57 crates, 204 false findings and 7 false definite
errors are gone and none is added; the 12 real defects found in six of the
projects were reported upstream.
What to expect: on the ten corpora, with every preset (run of 2026-11-22),
no definite error is new or gone, and the gap ledger moves by one:
--verify proves 12,035 of the 15,043 checks GNATprove proves, 80.0% (one
more Tokeneer overflow check). 87 overflow checks that were unproved are
proved, each an operation of a static expression (FP-169). On AWS, 5
Uninitialized_Output and 2 Infinite_Loop findings are gone from every
lane, all false; 13 initialization checks raised where nothing is read are
gone (FP-164); and 6 Exception_Propagation findings are new, all of
them right: calls that reach an explicit raise through a call with no
actual. In the lane compared with GNATcheck, 3 Constant_Condition
findings on CubeDOS and 5 on libkeccak are gone, all false (FP-166). 8
checks that 1.17.2 proved are no longer proved (gnatcoll-core 6, AWS 2),
each after a call that is now known to reach a subprogram whose effects
are not known. On the SPARK testsuite no finding changes, and three
overflow checks in static expressions are proved. Each document under
benchmarks/ says what changed on its corpus.
Fixed
- A call with no actual in an expression (
N : constant Natural := Tokenize;,return To_Set;) was no call for the summaries of what a
subprogram writes and raises: what the callee wrote and raised was not
the caller's. It is a call now, and a dispatching one has, as with
actuals, effects that are not known.Exception_Propagationreports the
calls that reach an explicitraisethat way, and a check that rested on
such a call having no effect may no longer be proved (FP-168). - A call through an access-to-subprogram object named with a package
prefix (API.Gen_Buffers (1, Id)) wrote itsoutactuals for
--verifyonly where the name had none: with one, the actuals and the
names of the formals were taken for reads. The 14 definite errors that
1.17.2 still gave on OpenGLAda, where the fix ofFP-151did not reach,
are gone (FP-164). Constant_Conditionjudged the condition of awhileloop from the
state before the loop:Redo := True; while Redo loop ... Redo := False;
was "always true", though the condition is tested again after every
iteration. It is now judged with what the body assigns forgotten
(FP-166).Infinite_Loopdid not takeexit Outer;from inside a nested loop for
a way out ofOuter(FP-167).- An
outparameter that a nested subprogram writes, as an up-level
object, was taken as never written: a caller's read of the actual, and
the read of the parameter after the nested call, were definite
initialization errors under--verify, andUninitialized_Output
reported the parameter (FP-168). - An operation of a static expression had an overflow check:
-2**63of an
Integer_64was a definite overflow error, though a static expression is
evaluated exactly (FP-169). Uninitialized_Readtook the names in thePre,PostandGlobal
aspects of a nested subprogram declaration for reads where it is
declared (FP-170).- A function whose value comes from machine code (
System.Machine_Code.Asm
reading a register) is a function of its arguments as SPARK takes it, so
one value before and after anAsmstatement that changes it: three
postconditions of HiRTOS about the CPU mode were definite errors under
--verify. A proof still takes it so, as GNATprove does; a definite
error no longer rests on it (FP-165).