Maintaining doubly-linked list invariants in shape analysis with local reasoning

  • Authors:
  • Sigmund Cherem;Radu Rugina

  • Affiliations:
  • Computer Science Department, Cornell University, Ithaca, NY;Computer Science Department, Cornell University, Ithaca, NY

  • 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

This paper presents a novel shape analysis algorithm with local reasoning that is designed to analyze heap structures with structural invariants, such as doubly-linked lists. The algorithm abstracts and analyzes one single heap cell at a time. In order to maintain the structural invariants, the analysis uses a local heap abstraction that models the sub-heap consisting of one cell and its immediate neighbors. The proposed algorithm can successfully analyze standard doubly-linked list manipulations.