Skip to content

Releases

AdaLang Analyzer 1.17.7

Choose a tag to compare

@github-actions github-actions released this 28 Nov 11:57

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_Assignment reported 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;, and if 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_Output took 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_Output did not take for C of Buffer loop C := ...; end loop; for a write of all of Buffer (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_Mismatch reported the read of an Output global that
    a called subprogram with no Global aspect gives a value first
    (Normalize; Seen := Res;, where Normalize sets Res). 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_Loop reported a plain loop that a goto to a label after
    it leaves (FP-197).

AdaLang Analyzer 1.17.6

Choose a tag to compare

@github-actions github-actions released this 27 Nov 21:29

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.6-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.6-macos-arm64.tar.gz macOS 26 or later on Apple silicon
adalang_analyzer-1.17.6-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.6-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.5 on coreboot's libgfxinit and libhwbase
(SPARK code that ships in firmware, in eleven configurations from i945 to
Alder Lake) showed, and of what validating them on our corpora and on
the SPARK testsuite showed. In their firmware configurations neither
library has a defect the analyzer finds; everything it reported wrongly
there is fixed here.

What to expect: on the ten corpora, with every preset (run of
2026-11-27), no proof is lost and no definite error is new or gone.
Tokeneer proves 3 more Global aspects, so the gap ledger moves to
--verify proving 12,038 of the 15,043 checks GNATprove proves, 80.0%
(12,035 in 1.17.5). An unproved postcondition of Ada_Drivers_Library goes:
it was checked against the other of the two STM32.I2C units the corpus
lists. Global_Contract_Mismatch goes from 617 sites to none,
Missing_Global_Contract from 1,498 to 796, Wrong_Parameter_Mode from
79 to 50, Uninitialized_Output from 85 to 71 and Dead_Store from 182
to 177. On the SPARK testsuite the data dependencies of one subprogram,
which GNATprove proves, are proved (FP-190), and 7 false
Global_Contract_Mismatch findings go. SPARK code that hides its
state behind state abstractions gets far fewer Global findings; a
subprogram that reaches Ada.Text_IO or Interfaces.C.Strings only
through calls may get a new Missing_Global_Contract, as GNATprove would
generate a Global for it.

Fixed

  • Global_Contract_Mismatch did not know state abstractions. A name in a
    Global aspect counted only when it denoted an object, so
    Global => (Output => S) allowed nothing, and every read or write of a
    constituent of S was reported, in the smallest package with one
    state. The body's Refined_Global was not looked at; a constant whose
    value depends on no variable, which SPARK lists in no Global aspect,
    counted as a global; a renaming was not taken for the object it
    renames. Now a constituent is allowed as the state it is part of allows
    it (by Part_Of or a Refined_State, through further states), a body
    is held to its Refined_Global, and an Output global may be read
    once the body has given the whole of it a value, on every path, before
    any read; a read that may come first is still reported. Our own corpora
    carried it, none of it triaged until now: 617 sites, Tokeneer 305,
    libkeccak 243, SPARKNaCl 43, CubeDOS 11, project_bias 7, CoAP-SPARK 5
    and Saatana 3, all false; libgfxinit had 106. With FP-189 below, none
    remain (FP-181).
  • Uninitialized_Output took a loop for one that may not go round at all
    whenever it could be left early: for Try in Positive range 1 .. 32 loop ... exit when Success; end loop was reported for what its first
    pass sets. A loop that goes round at least once (a plain loop, or a for
    loop over a static non-empty range, subtype or enumeration type) now
    sets what its first pass sets before every exit and, for a for loop, by
    the end of the pass (FP-183). An out parameter with relaxed
    initialization is no longer checked (FP-184), and a function called
    in a declaration of the subprogram sets the out parameter it is given
    (FP-185).
  • Dead_Store no longer reports the value a call stores at the end of a
    loop pass that the next pass reads (FP-186).
  • Wrong_Parameter_Mode no longer advises mode out for an in out
    parameter written only on some paths, where out would lose the
    caller's value (FP-187).
  • Depends_Contract_Mismatch and the flow-dependencies obligation
    replaced a state that a package names in its own contracts by the
    state it is Part_Of, wherever the refinement of that state was not
    visible: libhwbase's HW.Time.Timer was told its result depends on
    HW.Time.State, not on its own Abstract_Time. A state or object the
    body can name is now what it sees, as GNATprove sees it. Validating
    that showed what it had hidden, fixed with it: a call in pragma Debug
    counted as a data and a flow dependency, which for GNATprove it is
    not; the states of two instances of a generic were one object; a read
    of an element of an object with Effective_Reads did not depend on
    the index; a body with no declaration of its own was held to the
    contracts of another subprogram of its name; and a callee with no
    contract whose formals are all of mode in passed none of them on.
    libgfxinit and libhwbase have no Depends_Contract_Mismatch left in
    their firmware configurations; three remain in that of the Linux test
    program, whose MMIO_Range body (not SPARK) keeps the base address
    with the registers' contents, so the flows those contracts declare are
    not there (FP-182, FP-188).
  • Global_Contract_Mismatch reported a read of an Output global that
    the body writes first where the analyzer could not see that the write
    comes first: a call it does not follow before the write (a generic
    formal function, in libkeccak, which cannot reach the locals it is
    about; an imported subprogram or one of the predefined units with no
    Global aspect, which GNATprove takes to touch no object of the
    program), a record written a component at a time, a plain loop, and a
    call inside the package body, which is held to the callee's
    Refined_Global (FP-189).
  • Global_Contract_Mismatch also reported such a read where the write
    is in a for loop, or follows an exit that leaves the loop before it:
    the SPARK testsuite's S530-019 writes a constituent with relaxed
    initialization in for Unused_Loop_Var in 1 .. 1 loop, after the exit
    taken when a call fails, and reads it after the write. A for loop over
    a static range that is not empty now goes round at least once, and a
    path that leaves a loop, or goes through a branch, without touching the
    global does not read it. For --verify, every path is still to give
    such a global a value unless it has relaxed initialization; the data
    dependencies of S530-019's initGlobalsA, which GNATprove proves, are
    proved (FP-190).

Changed

  • Missing_Global_Contract goes by the same accesses as
    Global_Contract_Mismatch: a constant whose value depends on no
    variable is no global state, and a call to a subprogram whose Global
    aspect names a state abstraction touches that state. A subprogram that
    reads only such constants is no longer reported; one that reaches state
    only through such calls now is, as GNATprove would generate a Global
    for it (Ada.Text_IO's File_System, Interfaces.C.Strings'
    C_Memory). On the ten benchmark corpora the findings go from 1,498
    to 796 sites.

AdaLang Analyzer 1.17.5

Choose a tag to compare

@github-actions github-actions released this 26 Nov 19:42

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.5-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.5-macos-arm64.tar.gz macOS 26 or later on Apple silicon
adalang_analyzer-1.17.5-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.5-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.4 on thirteen of Gautier de Montmollin's
GitHub repositories (globe-3d, engine-3d, pascal-to-ada, GWindows, LEA,
AZip, TeXCAD, Wasabee and others) showed, among them a false-safe result:
-1 written for a modular type. On those and on the eleven repositories
of 1.17.4, 20 false findings and 2 false definite errors are gone, 2
initialization checks are proved, and nothing is added.

What to expect: on the ten corpora, with every preset (run of
2026-11-26), nothing changes: no finding is new or gone, no definite
error is new or gone, and no check is proved or unproved that was not
before. The gap ledger does not move, --verify proving 12,035 of the
15,043 checks GNATprove proves, 80.0%. On the SPARK testsuite nothing
changes. Code that compares a modular object with -1 (an imported C
function's error value read into an Unsigned_32, say) gets the checks
of that branch back: they were Unreachable, and are now proved, unproved
or definite errors as they deserve.

Fixed

  • --verify and Constant_Condition took -1 written for a modular type
    for the integer -1, not for the type's last value. With V an
    Unsigned_32, if V = -1 then was always false and the branch it
    guards unreachable, so a division by zero there was Unreachable where
    it is a definite error; pragma Assert (V /= -1) was proved, and with
    Last : constant Unsigned_32 := -1, 10 / Integer (Last + 1) was
    Proved_Safe: false-safe results. Libadalang gives a unary operator
    whose operand is of a universal type (-1, -(1), Unsigned_32'(-1))
    the universal type, so the reduction by the modulus of FP-091 was not
    applied to it; it now has the type the context expects, on both proof
    paths. engine-3d's if Video_Selector = -1 then, which tests what an
    imported C function returns, is no longer reported always false
    (FP-176).
  • Uninitialized_Read took an assignment to an object by its expanded
    name for a read of it: G.X := N;, with G a package declared in the
    subprogram, was reported, and the write missed. ayacc-generated parsers
    (yy.action, yy.index) and zip-ada's UnZ_Glob showed it (FP-177).
  • The object of T'Asm_Output written in parentheses was read, not
    stored into: Unsigned_8'Asm_Output ("=q", (Result)) gave a definite
    initialization error under --verify and an Uninitialized_Read
    (engine-3d) (FP-178).
  • Uninitialized_Read took the default expression of a formal for a read
    where the subprogram is declared. GWindows declares an imported
    CreateWindowEx with dwStyle : Interfaces.C.unsigned := Style before
    Style is set, and calls it after. The default is now read at each
    call that leaves the formal out, of a subprogram declared in the one
    looked at (FP-179). --verify still checks such a default where the
    subprogram is declared: it is unproved there when the object is set
    later, which is sound.
  • Unclosed_File_Handle did not take Delete for closing the file it
    deletes (RM A.8.2): Open (F, In_File, Script); Delete (F); was
    reported (GWindows) (FP-180).

AdaLang Analyzer 1.17.4

Choose a tag to compare

@github-actions github-actions released this 26 Nov 19:45

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.4-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.4-macos-arm64.tar.gz macOS 26 or later on Apple silicon
adalang_analyzer-1.17.4-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.4-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 eleven GitHub repositories (Brent
Seidel's projects, ravenadm, Synth, AdaBase) showed. On them, 17 false
findings are gone and none is added.

What to expect: on the ten corpora, with every preset (run of
2026-11-22), no finding is new, no definite error is new or gone, and no
check is proved or unproved that was not before: the gap ledger does not
move, --verify proving 12,035 of the 15,043 checks GNATprove proves,
80.0%. On the SPARK testsuite nothing changes. 7 findings are gone,
all false: on AWS, 3 Overwritten_Assignment on the flags
aws-net-log.adb sets around a call of a callback that can read them,
and 2 Uninitialized_Read on objects whose access value a call in an
assignment is given (Arg'Unchecked_Access, Is_Composite'Access); on
gnatcoll-core, 1 Overwritten_Assignment on Handle_Symbolic_Links,
saved, set and restored around calls that read it, and 1 such
Uninitialized_Read (Err_Code'Access). Each document under benchmarks/
says what changed on its corpus.

Fixed

  • Uninitialized_Read did not take the out actual of a call that is an
    actual of another call for a write: after R := Twice (Run (Command, Status)); the read of Status was reported. The walk that finds the
    first access stopped at the outer call when its callee told it nothing,
    without looking at the actuals; it goes on into them now. 7 findings on
    ravenadm (HT.USS (Unix.piped_command (command, status))) and 5 on
    BBS-BBB-Ada (uint8_to_status (self.hw.read (addr, reg, err))) are
    gone, all false (FP-171).
  • Uninitialized_Read took the out actual of a call in prefix notation
    that Libadalang does not resolve for a read (Ada-Lisp-Embedded's
    temp := i2c_ptr.read (addr, BBS.embed.i2c.MCP23017.IOCON, err);). The
    value of an assignment was judged with the policy of Dead_Store, for
    which an actual whose formal is not resolved is read, and the pairing of
    positional actuals with formals used when they do not resolve did not
    count the prefix as the first actual. The value is now walked as any
    expression is, where such a call is an access not known, and the pairing
    counts the prefix, also for the checks of SPARK readiness (FP-172).
  • Uninitialized_Read missed a read as an index or as the operand of a
    conversion outside an assignment: if A (I) > 0 then of an I with no
    value was not reported (FP-173).
  • Constant_Condition, outside --verify, missed what a function called
    with no actual writes, and what the calls in a condition write: on
    ravenadm, latest_version : constant String := determine_tag;, whose
    nested function sets available and good_pattern, left three
    conditions on them always true or false; all three findings, false, are
    gone. A condition, an exit condition and a case selector are judged after
    the calls in them (FP-174; FP-168 had fixed the same for
    --verify).
  • Overwritten_Assignment took no call for a read of an object declared in
    a package: Full := False; Reader; Full := True; was reported even where
    Reader reads Full. A statement between the two assignments that can
    run code of the program (a call of a subprogram other than of the
    predefined library or of a pure unit, a call that dispatches or does not
    resolve, an access value) now reads such an object, unless it belongs to
    a package body where no body reads it. On Synth, fullpop := False; parallel_deep_scan (...); fullpop := True;, whose scan tasks read
    fullpop, is no longer reported (FP-175).

AdaLang Analyzer 1.17.3

Choose a tag to compare

@github-actions github-actions released this 22 Nov 15:08

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_Propagation reports the
    calls that reach an explicit raise that 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 its out actuals for
    --verify only 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 of FP-151 did not reach,
    are gone (FP-164).
  • Constant_Condition judged the condition of a while loop 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_Loop did not take exit Outer; from inside a nested loop for
    a way out of Outer (FP-167).
  • An out parameter 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, and Uninitialized_Output
    reported the parameter (FP-168).
  • An operation of a static expression had an overflow check: -2**63 of an
    Integer_64 was a definite overflow error, though a static expression is
    evaluated exactly (FP-169).
  • Uninitialized_Read took the names in the Pre, Post and Global
    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 an Asm statement 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).

AdaLang Analyzer 1.17.2

Choose a tag to compare

@github-actions github-actions released this 21 Nov 21:21

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.2-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.2-macos-arm64.tar.gz macOS 26 or later on Apple silicon
adalang_analyzer-1.17.2-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.2-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 first release with binaries: archives of the analyzer and its solvers
for Linux, macOS and Windows, which need nothing built or installed beside
them but a GNAT toolchain, for the sources of the Ada run-time library.
And the fixes of what running it on 35 of the most used and most starred
crates of the Alire index showed: 121 of the 124 definite errors --verify
gave there were false, in eight shapes, now gone; the three that are right
were reported upstream with the other defects found.

What to expect: on the ten corpora, with every preset (run of 2026-11-21),
no finding is new and no definite error is new or gone, and the figures of
the gap ledger stand: --verify proves 12,034 of the 15,043 checks
GNATprove proves, 80.0%. 54 findings are gone, all of them false (read in
the sources): 17 Dead_Store, 14 Use_After_Free, 10
Uninitialized_Read, 8 Double_Free, 3 Overwritten_Assignment, one
Aliasing_Between_Parameters (CoAP-SPARK) and one Repeated_Statement
(Ada_Drivers_Library, a device register written twice), on gnatcoll-core,
AWS and the three others. 47 obligations that 1.17.1 raised where nothing
is read are gone (46 initialization checks and the range check of a
conversion), none of them paired with a check of GNATprove's; 339
initialization checks are new, at target names (AWS 335, CoAP-SPARK 4);
five that were unproved are proved (Tokeneer 2, AWS 3), and no proof is
lost. On the SPARK testsuite no obligation changes, and one
Aliasing_Between_Parameters finding is gone (FP-159). Each document
under benchmarks/ says what changed on its corpus.

Added

  • Release archives. A pushed version tag builds the analyzer on Linux
    (x86-64, on Ubuntu 22.04: GNU C library 2.35 or later), macOS (Apple
    silicon, macOS 26 or later) and Windows (x86-64), and attaches an archive
    for each, with their SHA-256 checksums, to a draft GitHub release that
    the CHANGELOG section introduces (.github/workflows/release.yml). An
    archive holds the executable, the CVC5 and Z3 solvers of the GNATprove
    distribution beside it, the README, CHANGELOG, LICENSE and NOTICE, the
    solvers' licenses, and a THIRD-PARTY.md listing each library linked in
    and its license as the Alire index gives it.
    .github/scripts/build-release.sh builds one: GMP is linked in from its
    static library, the build stops if the executable or a solver depends on
    any library outside the system, and the packaged analyzer is run with no
    toolchain, solver or home directory to find, and must run the solvers
    beside it. Started by hand, the workflow builds any branch or tag as a
    trial, or attaches the archives to an existing tag's release.
  • The configuration reference shows how to analyze the sources of Rational
    Apex and ApexAda views (unit.1.ada, unit.2.ada, child units and
    subunits with the dots of their names): a GPR project a view, with the
    Apex naming scheme and a with for each view it imports, or the sources
    named on the command line. Only with a project do the compiler checks
    find the units a source depends on. tests/run_apex_views.sh checks
    both ways on two views written for the purpose; no view that Apex saved
    has been tried. Apex's own files (a view's switches and imports) are not
    read.

Changed

  • cvc5 and z3 beside the analyzer's executable, where a release archive
    puts them, are used before those on PATH (and the GNATprove
    installation of Alire after both); ADALANG_CVC5 and ADALANG_Z3 still
    come first. A link to the executable is followed to find them. Before,
    solvers there were run only when PATH held none: a dependency appends
    the directory the analyzer was started from to its PATH.
    tests/run_solver_limits.sh checks the order.

  • Use_After_Free reports a dereference of the freed object, and of a
    local copy of its access value made before the Free; Double_Free, a
    Free of such a copy. A second Free of the same object, which the first
    sets to null (RM 13.11.2), is no longer reported, nor is a use the Free
    cannot reach: in the other branch, after a handler that frees and raises
    again, or in an iteration of a loop that declares the object anew
    (FP-156).

  • Aliasing_Between_Parameters follows SPARK RM 6.4.2: an object of a
    scalar type given to an in parameter and to an in out or out one is not
    reported (FP-159).

Fixed

What running AdaLang Analyzer on 35 of the most used and most starred
crates of the Alire index showed (FP-150 to FP-161, in
quality/known_analysis_issues.tsv). Of the 124 definite errors
--verify gave there, 121 were false, in these shapes:

  • The item of T'Read and the object of T'Asm_Output hold a value
    after the call; neither is read (FP-150: gid, Zip-Ada, wisitoken,
    simple_components, HiRTOS, rp2040_hal).
  • The out actuals of a call through an access value are not read
    (FP-151: utilada, OpenGLAda), nor is the object of a view conversion
    given as an out actual (FP-152: sdlada, stephes_ada_library).
  • An object that is imported, or whose access value or address is given
    away, is not known to have no value; only a pragma that evaluates an
    expression reads the objects it names (FP-153: clic, simple_components,
    powerjoular, utilada). An imported object is seen outside, as a volatile
    one is: Repeated_Statement, Overwritten_Assignment and Dead_Store do not
    report its writes (a device register written twice, Ada_Drivers_Library).
  • The renaming of an object reads no value of it (that of what a function
    call or a dereference gives still reads what the call or the
    dereference reads), and Uninitialized_Output does not report an out
    parameter the body renames (FP-154).
  • pragma Assert (False) after a call is unproved, not a definite error
    nor a Known_Assertion_Failure (FP-155: HiRTOS).

The three that are right are in simple_components, and were reported
upstream with the other defects found there
(alire-project/dak_simple_components#9). And in the other checks:

  • Repeated_Statement does not report an assignment repeated whose value
    reads its target or calls a function that may change state, one whose
    effects are not known or that writes an object outside it (FP-157);
    Duplicate_Condition, a
    condition the same as an earlier one where a call between them changes
    what it reads (FP-158); Overwritten_Assignment and Dead_Store, the
    value, a status, that a call of an imported function or of one that may
    change state returns (FP-160).
  • A target name, @, reads the target of its assignment.
    Overwritten_Assignment and Dead_Store reported the value it reads
    (T := X * 3; T := @ + 1;, AWS), and Repeated_Statement a repeated
    T := @ + 1; (FP-162). Uninitialized_Read now finds T := @ + 1; of a
    T with no value, and --verify has an initialization check at @,
    where it had none and proved the reads of T after it (FP-163).
  • The sources of a project compiled with -gnatW8, as Alire compiles
    every crate, are read as UTF-8; they were read as ISO-8859-1 and
    identifiers in UTF-8 did not parse. --verify stopped with no report on
    a Property_Error raised in the declarations of a block whose handler was
    to take it (FP-161: honki_tonks_zivilisationen).
  • The summaries of the subprograms were searched one by one for every
    call: PHCpack (5,508 sources, 1.3 million lines) took more than 15
    minutes under --recommended; it takes 7.
  • On macOS and Linux the executable loaded the shared GNAT tasking run time
    (libgnarl) of the toolchain that built it, beside the static one the
    binder links in, and stopped at start-up on any computer without that
    toolchain at the same place: the project file's -lgnarl, among the
    linker switches, found the shared library first. It now comes last
    (Trailing_Switches), where it supplies only what is still missing, and
    the shared library is kept only by the test programs whose closure gives
    the binder no tasking to link in. The Windows executable, linked
    statically, did not have the problem.