Invariant Checking for Programs with Procedure Calls

  • Authors:
  • Guillem Godoy;Ashish Tiwari

  • Affiliations:
  • LSI Department, Technical University of Catalonia, Barcelona, Spain 08034;SRI International, Menlo Park, U.S.A

  • Venue:
  • SAS '09 Proceedings of the 16th International Symposium on Static Analysis
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Invariants are a crucial component of the overall correctness of programs. We explore the theoretical limits for doing automatic invariant checking and show that invariant checking is decidable for a large class of programs that includes some recursive programs. The proof uses known results like the decidability of Presburger arithmetic and the semilinearity of the Parikh image of a regular language. Removing some of the restrictions on the program model leads to undecidability of the invariant checking problem.