Toolchain verifies AArch64, RISC-V
Islaris
Prove Arm or RISC-V machine code correct in Rocq, against the full official Sail ISA models, using Isla symbolic execution and an Iris separation logic.
Use it if
- You need proofs about machine code that touches system features (exception vectors, system registers, MMIO) on Armv8-A or RISC-V.
- You want the proof to rest on the authoritative ISA model rather than a hand-written subset.
Look elsewhere if
- Your code is concurrent, self-modifying or depends on address translation; these are not supported.
- You need a maintained, documented tool; the last main-branch commit is from September 2024.
How it works
From your code to an accepted proof. Each step either has to be trusted or is checked by something else.
- Input AArch64 / RISC-V code
- Front end objdump output, trimmed and annotated by hand; Islaris front end Trusted You copy the relevant part of objdump output into a .dump file and add constraints; the front end calls Isla per opcode.
- Semantics Sail Armv8.5-A model Validated Used through a pinned snapshot (isla-snapshots), not the latest sail-arm model.
- Semantics Sail RISC-V model Validated Used through a pinned snapshot (isla-snapshots).
- Translation Isla symbolic executor with an SMT solver (Z3) Trusted Turns each opcode into a trace of register and memory events. For RISC-V, an optional translation-validation step proves traces against the Sail-generated Rocq model; the paper did this for the instructions of a memcpy example only.
- Automation Lithium-based proof automation for the Islaris separation logic Checked
- Checker Rocq kernel (with Iris) Trusted
Verified or checked: outside the trusted base Validated per run or by tests Trusted without proof
- AArch64: Armv8-A machine code, including EL2 (hypervisor) code.
- RISC-V: RV64 machine code.
Trust
What a proof from this toolchain relies on: the trusted computing baseTrusted computing base (TCB). Everything that must be correct for a proof to mean what it says., one part at a time. How these are rated.
- Checker What has the final word on a proof?Partial
Isla and its SMT solver are trusted; Rocq checks the separation-logic proofs.
The paper says the basic approach adds Isla and the SMT solver to the trusted base. Optional translation validation against the Sail-generated Rocq model removes them for RISC-V, shown only for a memcpy example; for Armv8-A the model was too large to handle this way.
- Semantics Is the tool's model of the language the real language?Strong
Uses the official Sail models (Arm-derived Armv8.5-A, RISC-V golden model).
Both are pinned snapshots from isla-snapshots, older than the current models.
- Frontend How does your source get into the model?Partial
Opcodes come from objdump output that the user trims and annotates by hand.
Nothing checks that the dump matches the binary that is loaded.
- Binary gap Does the proof cover what actually runs?Strong
Proofs are about the machine code itself; no compiler is trusted.
- Escape hatches Can a proof silently rest on unchecked assumptions?Partial
Rocq Admitted and Axiom are possible; Print Assumptions finds them.
Constraints the user gives to Isla become proof obligations, not unchecked assumptions.
What it can prove
Kinds of guarantees, not how easy they are to get.
| Feature | Support | Notes |
|---|---|---|
| No undefined behavior Memory safety and absence of runtime errors: no out-of-bounds access, use-after-free, overflow traps, panics or undefined behavior on any input allowed by the precondition. | SupportedSupported.Proofs show execution never reaches a failure state and only touches memory the specification owns or allows (MMIO). Source | Proofs show execution never reaches a failure state and only touches memory the specification owns or allows (MMIO). source |
| Functional correctness The code meets a written specification of its results, for example “returns the sorted list” or “implements this RFC”. | SupportedSupported.Specifications are separation-logic pre- and postconditions over registers and memory. Source | Specifications are separation-logic pre- and postconditions over registers and memory. source |
| Equivalence Two programs (an optimized and a reference version, or code before and after a change) are proved to behave the same, or one refines the other. | Not supportedNot supported.The logic proves properties of one program; no support for relating two programs is described. Source | The logic proves properties of one program; no support for relating two programs is described. source |
| Information flow Secrets do not influence public outputs, timing or memory access patterns (constant-time code, non-interference). | Not supportedNot supported.No support for secrecy or constant-time properties is described. Source | No support for secrecy or constant-time properties is described. source |
| Concurrency Correctness of code with threads or shared memory: absence of data races, deadlock freedom, linearizability of concurrent data structures. | Not supportedNot supported.The paper states Islaris assumes single-threaded execution. Source | The paper states Islaris assumes single-threaded execution. source |
| Termination and liveness Every run finishes, or the system keeps making progress (liveness). | Not supportedNot supported.The adequacy theorem gives a safety property; it does not show that the code finishes. Source | The adequacy theorem gives a safety property; it does not show that the code finishes. source |
Language coverage
Which parts of AArch64 and RISC-V it handles. Hover or focus a mark for details.
ISA-level features
| Feature | Support | Notes |
|---|---|---|
| User-level instructions The ordinary integer, memory and branch instructions programs use. | SupportedSupported.Any instruction in the Sail model can be turned into a trace by Isla; examples include memcpy and binary search. Source | Any instruction in the Sail model can be turned into a trace by Isla; examples include memcpy and binary search. source |
| Floating-point instructions Scalar floating-point instructions. | UnknownUnknown.No floating-point examples in the paper or repository. | No floating-point examples in the paper or repository. |
| Vector / SIMD instructions Vector and SIMD extensions. | UnknownUnknown.No vector or SIMD examples in the paper or repository. | No vector or SIMD examples in the paper or repository. |
| Privileged mode Privilege levels, control registers, traps and exceptions. | SupportedSupported.Examples install exception vectors, perform hypercalls, handle an unaligned-access fault and use dozens of system registers (pKVM handler). Source | Examples install exception vectors, perform hypercalls, handle an unaligned-access fault and use dozens of system registers (pKVM handler). source |
| Virtual memory Page tables and address translation. | Not supportedNot supported.The paper states address translation is not supported (the ISA model has it, but Islaris does not reason about it). Source | The paper states address translation is not supported (the ISA model has it, but Islaris does not reason about it). source |
| Concurrency memory model The multiprocessor memory model (for example x86-TSO, Arm, RVWMO). | Not supportedNot supported.Single-threaded only; relaxed-memory concurrency is future work per the paper. Source | Single-threaded only; relaxed-memory concurrency is future work per the paper. source |
Stage
Computed from the evidence below; see the criteria. 4criteria are missing for Stage 1.
- Not met: Released or updated in the last 12 months Latest release: main@c978e10, 2024-09-11. evidence
- Unknown: Installs and runs on current platforms Setup pins OCaml 4.14.0, Coq 8.19 and specific Isla and isla-snapshots commits. The last main-branch commit is from 2024-09-11 and we found no recent CI runs, so we could not confirm it builds on current platforms.
- Not met: User documentation or tutorial The README covers setup and trace generation only; there is no guide to writing specifications and proofs. evidence
- Not met: Used by a group other than its authors None found. The follow-up we found (Morello-Cerise, PLDI 2025) builds on Islaris but shares authors with it.
- Not met: Verified code in production at two or more independent organizations None recorded.
- Met: Checker axis is not red
- Met: Semantics axis is not red
- Met: Public channel for soundness bugs Public issue tracker. evidence
In use
Verified code in production, and notable verification projects.
Facts and sources
- Effort
- Interactive: You write proofs step by step in a proof assistant.
- Licence
- Open source, BSD-2-Clause
- Maintained by
- REMS project (University of Cambridge), MPI-SWS, University of Edinburgh, Aarhus University
- Latest release
- main@c978e10 (11 Sep 2024) source
- Last checked
- 26 Nov 2026
Further sources
- Islaris README · accessed 26 Nov 2026
- Islaris: Verification of Machine Code Against Authoritative ISA Semantics (PLDI 2022) · accessed 26 Nov 2026
- Islaris CI configuration · accessed 26 Nov 2026
- Morello-Cerise (PLDI 2025) · accessed 26 Nov 2026
- Isla · accessed 26 Nov 2026