Verification of snapshotable trees using access permissions and typestate

  • Authors:
  • Hannes Mehnert;Jonathan Aldrich

  • Affiliations:
  • IT University of Copenhagen, København, Denmark;School of Computer Science, Carnegie Mellon University, Pittsburgh

  • Venue:
  • TOOLS'12 Proceedings of the 50th international conference on Objects, Models, Components, Patterns
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We use access permissions and typestate to specify and verify a Java library that implements snapshotable search trees, as well as some client code. We formalize our approach in the Plural tool, a sound modular typestate checking tool. We describe the challenges to verifying snapshotable trees in Plural, give an abstract interface specification against which we verify the client code, provide a concrete specification for an implementation and describe proof patterns we found. We also relate this verification approach to other techniques used to verify this data structure.