Resource-Constrained Model Checking of Recursive Programs

Samik Basu, K. Narayan Kumar, L. Robert Pokorny, C. R. Ramakrishnan


Abstract:

A number of recent papers present efficient algorithms for LTL model checking for recursive programs with finite data structures. A common feature in all these works is that they consider infinitely long runs of the program without regard to the size of the program stack. Runs requiring unbounded stack are often a result of abstractions done to obtain a finite-data recursive program. In this paper, we introduce the notion of resource-constrained model checking where we distinguish between stack-diverging runs and finite-stack runs. It should be noted that finiteness of stack-like resources cannot be expressed in LTL.

We develop resource-constrained model checking in terms of good cycle detection in a finite graph called R-automaton, which is constructed from a given push-down system (PDS) and a Beuchi automaton. We make the formulation of the model checker ``executable'' by encoding it directly as Horn clauses. We present a local algorithm to detect a good cycle in an R-automaton. Furthermore, by describing the construction of R-automaton as a logic program and evaluating it using tabled resolution, we do model checking without materializing the push-down system or the induced R-automaton. Preliminary experiments indicate that the local model checker is at least as efficient as existing model checkers for push-down systems.


Bibtex Entry:

@inproceedings{BKPR:TACAS02,
author = {Samik Basu and  K. Narayan Kumar and  L. Robert Pokorny and  C. R. Ramakrishnan},
title = {Resource-Constrained Model Checking of Recursive Programs},
booktitle = {Eighth International Conference on Tools and Algorithms for the Construction and Analysis of Systems ({TACAS})},
address = {Grenoble, France},
month = {April},
series = {Lecture Notes in Computer Science},
volume = {2280},
publisher = {Springer},
pages = {236--250},
year = {2002}
}


Full Paper: [pdf]


Home | Papers

C. R. Ramakrishnan
(cram@cs.sunysb.edu)