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:
saple --versionRun 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:
git clone https://github.com/smander/saple.git
cd saple
saple analyze examples/dining_philosophers.splThe 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:
saple analyze examples/vulnerable_server.splreports three pattern findings and one violated property (walkthrough). And a front end on real assembly:
saple analyze demo/corpus/cwe-190/vulnerable/imul32_overflow_before_malloc.txt \
--arch x86-64 --pattern-set=v0.6Next
Continue to CLI Tools for every command and flag, the x86-64 and AArch64 front ends, or the SPL language.