Modular shape analysis for dynamically encapsulated programs

  • Authors:
  • N. Rinetzky;A Poetzsch-Heffter;G. Ramalingam;M. Sagiv;E. Yahav

  • Affiliations:
  • Tel Aviv University;University of Kaiserlautern;Microsoft Research India;Tel Aviv University;IBM T.J. Watson Research Center

  • Venue:
  • ESOP'07 Proceedings of the 16th European conference on Programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a modular static analysis which identifies structural (shape) invariants for a subset of heap-manipulating programs. The subset is defined by means of a non-standard operational semantics which places certain restrictions on aliasing and sharing across modules. More specifically, we assume that live references (i.e., used before set) between subheaps manipulated by different modules form a tree. We develop a conservative static analysis algorithm by abstract interpretation of our non-standard semantics. Our modular algorithm also ensures that the program obeys the above mentioned restrictions.