Skip to content

smackers/smack

Repository files navigation

master Build Status develop Build Status

SMACK Logo

SMACK is both a modular software verification toolchain and a self-contained software verifier. It can be used to verify the assertions in its input programs. In its default mode, assertions are verified up to a given bound on loop iterations and recursion depth; it contains experimental support for unbounded verification as well. SMACK handles complicated feature of the C language, including dynamic memory allocation, pointer arithmetic, and bitwise operations.

Under the hood, SMACK is a translator from the LLVM compiler's popular intermediate representation (IR) into the Boogie intermediate verification language (IVL). Sourcing LLVM IR exploits an increasing number of compiler front-ends, optimizations, and analyses. Currently SMACK robustly supports the C language (and experimentally, C++ and Objective-C) via the Clang compiler. We are in the process of adding support for FORTRAN (via Flang), Rust, and Swift. In general, any AoT comipler that targets LLVM can be used with SMACK (see the tutorial). Targeting Boogie exploits a canonical platform which simplifies the implementation of algorithms for verification, model checking, and abstract interpretation. Currently, SMACK leverages the Boogie and Corral verifiers.

See below for system requirements, installation, usage, and everything else.

We are very interested in your experience using SMACK. Please do contact Zvonimir or Michael with any possible feedback.

Support

Acknowledgements

SMACK project is partially supported by NSF award CCF 1346756 and Microsoft Research SEIF award. We also rely on University of Utah's Emulab infrastructure for extensive benchmarking of SMACK.

Table of Contents

  1. System Requirements and Installation
  2. Running SMACK
  3. Demos
  4. FAQ
  5. Inline Boogie Code
  6. Other Languages
  7. Contribution Guidelines
  8. Projects
  9. Publications
  10. People