Object ownership in program verification

  • Authors:
  • Werner Dietl;Peter Müller

  • Affiliations:
  • University of Washington;ETH Zurich, Switzerland

  • Venue:
  • Aliasing in Object-Oriented Programming
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Dealing with aliasing is one of the key challenges for the verification of imperative programs. For instance, aliases make it difficult to determine which abstractions are potentially affected by a heap update and to determine which locks need to be acquired to avoid data races. Object ownership was one of the first approaches that allowed programmers to control aliasing and to restrict the operations that can be applied to a reference. It thus enabled sound, modular, and automatic verification of heap-manipulating programs. In this paper, we present two ownership systems that have been designed specifically to support program verification--Universe Types and Spec#'s Dynamic Ownership--and explain their applications in program verification, illustrated through a series of Spec# examples.