Automated verification of shape and size properties via separation logic

  • Authors:
  • Huu Hai Nguyen;Cristina David;Shengchao Qin;Wei-Ngan Chin

  • Affiliations:
  • Singapore-MIT Alliance;Department of Computer Science, National University of Singapore;Department of Computer Science, Durham University;Singapore-MIT Alliance and Department of Computer Science, National University of Singapore

  • Venue:
  • VMCAI'07 Proceedings of the 8th international conference on Verification, model checking, and abstract interpretation
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Despite their popularity and importance, pointer-based programs remain a major challenge for program verification. In this paper, we propose an automated verification system that is concise, precise and expressive for ensuring the safety of pointer-based programs. Our approach uses user-definable shape predicates to allow programmers to describe a wide range of data structures with their associated size properties. To support automatic verification, we design a new entailment checking procedure that can handle well-founded inductive predicates using unfold/fold reasoning. We have proven the soundness and termination of our verification system, and have built a prototype system.