# 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.

- Kind: toolchain
- Verifies: AArch64 (Armv8-A machine code, including EL2 (hypervisor) code.); RISC-V (RV64 machine code.)
- Effort: Interactive — You write proofs step by step in a proof assistant.
- Stage: 0 (Research)
- Trust: Checker partial, Semantics strong, Frontend partial, Binary gap strong, Escape hatches partial
- Licence: open-source, BSD-2-Clause
- Latest release: main@c978e10 (2024-09-11) https://github.com/rems-project/islaris/commits/main
- Links: [repo](https://github.com/rems-project/islaris), [paper](https://doi.org/10.1145/3519939.3523434)

## 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 (pipeline)

| Step | Component | Assurance | Note |
|---|---|---|---|
| frontend | 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 (`sail-arm`) | validated | Used through a pinned snapshot (isla-snapshots), not the latest sail-arm model. |
| semantics | Sail RISC-V model (`sail-riscv`) | 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) (`rocq`) | trusted |  |

## Trust

| Axis | Level | Summary | Note |
|---|---|---|---|
| Checker | Partial (amber) | 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. [source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf) |
| Semantics | Strong (green) | 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. [source](https://github.com/rems-project/islaris#setup) |
| Frontend | Partial (amber) | Opcodes come from objdump output that the user trims and annotates by hand. | Nothing checks that the dump matches the binary that is loaded. [source](https://github.com/rems-project/islaris#generating-coq-traces-from-a-partial-decompilation-of-pkvm) |
| Binary gap | Strong (green) | Proofs are about the machine code itself; no compiler is trusted. |  [source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf) |
| Escape hatches | Partial (amber) | Rocq Admitted and Axiom are possible; Print Assumptions finds them. | Constraints the user gives to Isla become proof obligations, not unchecked assumptions. [source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf) |

## What it can prove

| Property | Support |
|---|---|
| No undefined behavior | Supported — Proofs show execution never reaches a failure state and only touches memory the specification owns or allows (MMIO). ([source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)) |
| Functional correctness | Supported — Specifications are separation-logic pre- and postconditions over registers and memory. ([source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)) |
| Equivalence | Not supported — The logic proves properties of one program; no support for relating two programs is described. ([source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)) |
| Information flow | Not supported — No support for secrecy or constant-time properties is described. ([source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)) |
| Concurrency | Not supported — The paper states Islaris assumes single-threaded execution. ([source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)) |
| Termination and liveness | Not supported — The adequacy theorem gives a safety property; it does not show that the code finishes. ([source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)) |

## ISA-level features

| Feature | Support |
|---|---|
| User-level instructions | Supported — Any instruction in the Sail model can be turned into a trace by Isla; examples include memcpy and binary search. ([source](https://github.com/rems-project/islaris/tree/main/examples)) |
| Floating-point instructions | Unknown — No floating-point examples in the paper or repository. |
| Vector / SIMD instructions | Unknown — No vector or SIMD examples in the paper or repository. |
| Privileged mode | Supported — Examples install exception vectors, perform hypercalls, handle an unaligned-access fault and use dozens of system registers (pKVM handler). ([source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)) |
| Virtual memory | Not supported — The paper states address translation is not supported (the ISA model has it, but Islaris does not reason about it). ([source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)) |
| Concurrency memory model | Not supported — Single-threaded only; relaxed-memory concurrency is future work per the paper. ([source](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)) |

## Stage

**Stage 0: Research.**

| Stage | Criterion | Met | Evidence / note |
|---|---|---|---|
| 0 | Publicly available | yes | [evidence](https://github.com/rems-project/islaris) Also archived on Zenodo (doi 10.5281/zenodo.6417959). |
| 0 | At least one published verification uses it | yes | [evidence](https://doi.org/10.1145/3519939.3523434) PLDI 2022 paper with Armv8-A and RISC-V case studies. |
| 1 | Released or updated in the last 12 months | no | [evidence](https://github.com/rems-project/islaris/commits/main) Latest release: main@c978e10, 2024-09-11. |
| 1 | Installs and runs on current platforms | unknown | 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. |
| 1 | User documentation or tutorial | no | [evidence](https://github.com/rems-project/islaris#readme) The README covers setup and trace generation only; there is no guide to writing specifications and proofs. |
| 1 | Used by a group other than its authors | no | None found. The follow-up we found (Morello-Cerise, PLDI 2025) builds on Islaris but shares authors with it. |
| 2 | Verified code in production at two or more independent organizations | no | None recorded. |
| 2 | Checker axis is not red | yes |  |
| 2 | Semantics axis is not red | yes |  |
| 2 | Public channel for soundness bugs | yes | [evidence](https://github.com/rems-project/islaris/issues) Public issue tracker. |

Missing for Stage 1: Released or updated in the last 12 months; Installs and runs on current platforms; User documentation or tutorial; Used by a group other than its authors.

## Projects
- [Hypercall handlers from the pKVM hypervisor (Armv8-A, relocation-parametric)](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)
- [Morello-Cerise (PLDI 2025), secure encapsulation on Arm Morello, building on the Islaris approach](https://doi.org/10.1145/3729329)

## Sources
- [Islaris README](https://github.com/rems-project/islaris)
- [Islaris: Verification of Machine Code Against Authoritative ISA Semantics (PLDI 2022)](https://pub.ista.ac.at/~msammler/paper/islaris.pdf)
- [Islaris CI configuration](https://github.com/rems-project/islaris/blob/main/.github/workflows/ci.yml)
- [Morello-Cerise (PLDI 2025)](https://pldi25.sigplan.org/details/pldi-2025-papers/80/Morello-Cerise)
- [Isla](https://github.com/rems-project/isla)

---
Last checked 2026-11-26. Data: [JSON](/toolchains/islaris.json) · Page: [HTML](/toolchains/islaris/) · Methodology v0.1: [/methodology/](/methodology/) · Corrections: [/contribute/](/contribute/)
