Quick Start

Get from zero to your first verified model in a few minutes.

Install#

Download and install the binary for your platform as described in Getting Started, then check it runs:

Shell
saple --version

Run your first analysis#

The packages contain the binary only. The example specifications, the demo listings and the pattern libraries live in the repository; run from a checkout:

Shell
git clone https://github.com/smander/saple.git
cd saple
saple analyze examples/dining_philosophers.spl

The model declares three properties (deadlock freedom, mutual exclusion, progress); none is reported violated, so the report ends with No vulnerabilities detected. See the walkthrough.

Security analysis is one application. A model with vulnerability patterns:

Shell
saple analyze examples/vulnerable_server.spl

reports three pattern findings and one violated property (walkthrough). And a front end on real assembly:

Shell
saple analyze demo/corpus/cwe-190/vulnerable/imul32_overflow_before_malloc.txt \
  --arch x86-64 --pattern-set=v0.6
Next
Continue to CLI Tools for every command and flag, the x86-64 and AArch64 front ends, or the SPL language.
↑ ↓ to moveEnter to openEsc to close