SAPLE Documentation

SAPLE — the Symbolic Algebraic Process Logic Engine — is a general formal verification framework: model a system as process equations over shared state in its specification language SPL, state its properties, and check them with symbolic execution and SMT solving. Security analysis of programs and machine code is one application. These docs cover the language, the CLI, the front ends and the example specifications.

Getting Started#

Introduction · Quick Start · CLI Tools (every subcommand and flag)

SPL Language#

SPL describes systems with types, transitions, agents, schemas, systems, properties and patterns. Start with File Structure and work down the sidebar; machine-level models use bit-vectors.

Front Ends#

For security analysis of machine code, two front ends turn it into SPL: Intel x86-64 Model (--arch x86-64) and the AArch64 Model (--arch aarch64). Their pattern libraries ship in patterns/.

Reference#

Quick lookups: operator precedence, the syntax cheat sheet, and the built-in function index.

Examples#

Each .spl file demonstrates a different verification scenario — concurrency, consensus, cache coherence, and, as a security application, vulnerability classes in parsers, network stacks and smart contracts. See the overview or jump into a per-example walkthrough from the sidebar.

↑ ↓ to moveEnter to openEsc to close