The Spec# Programming System: An Overview

  • Mike Barnett
  • Rustan Leino
  • Wolfram Schulte

CASSIS 2004, Construction and Analysis of Safe, Secure and Interoperable Smart devices |

Published by Springer

The Spec# programming system is a new attempt at a more cost effective way to develop and maintain high-quality software. This paper describes the goals and architecture of the Spec# programming system, consisting of the object-oriented Spec# programming language, the Spec# compiler, and the Boogie static program verifier. The language includes constructs for writing specifications that capture programmer intentions about how methods and data are to be used, the compiler emits run-time checks to enforce these specifications, and the verifier can check the consistency between a program and its specifications.