Automatic Verification of Recursive Procedures with One Integer Parameter

  • Authors:
  • Ahmed Bouajjani;Peter Habermehl;Richard Mayr

  • Affiliations:
  • -;-;-

  • Venue:
  • MFCS '01 Proceedings of the 26th International Symposium on Mathematical Foundations of Computer Science
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Context-free processes (BPA) have been used for dataflow-analysis in recursive procedures with applications in optimizing compilers [6].We introduce a more refined model called BPA(ZZ) that can model not only recursive dependencies, but also the passing of integer parameters to subroutines. Moreover, these parameters can be tested against conditions expressible in Presburger-arithmetic. This new and more expressive model can still be analyzed automatically. We define Z-input 1-CM, a new class of one-counter machines that take integer numbers as input, to describe sets of configurations of BPA(Z). We show that the Post* (the set of successors) of a set of BPA(Z)-configurations described by a Z-input 1-CM can be effectively constructed. The Pre* (set of predecessors) of a regular set can be effectively constructed as well. However, the Pre* of a set described by a Z-input 1-CM cannot be represented by a Z-input 1-CM in general and has an undecidable membership problem. Then we develop a new temporal logic based on reversal-bounded counter machines that can be used to describe properties of BPA(Z) and show that the model-checking problem is decidable.