Heap Assumptions on Demand

  • Authors:
  • Andreas Podelski;Andrey Rybalchenko;Thomas Wies

  • Affiliations:
  • University of Freiburg,;MPI-SWS,;University of Freiburg,

  • Venue:
  • CAV '08 Proceedings of the 20th international conference on Computer Aided Verification
  • Year:
  • 2008

Quantified Score

Hi-index 0.02

Visualization

Abstract

Termination of a heap-manipulating program generally depends on preconditions that express heap assumptions(i.e., assertions describing reachability, aliasing, separation and sharing in the heap). We present an algorithm for the inference of such preconditions. The algorithm exploits a unique interplay between counterexample-producing abstract termination checker and shape analysis. The shape analysis produces heap assumptions on demand to eliminate counterexamples, i.e., non-terminating abstract computations. The experiments with our prototype implementation indicate its practical potential.