Proving thread termination
Byron Cook, Andreas Podelski, Andrey Rybalchenko · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 2007
Concurrent programs are often designed such that certain functions executing within critical threads must terminate. Examples of such cases can be found in operating systems, web servers, e-mail clients, etc. Unfortunately, no known automatic program termination prover supports a practical method of proving the termination of threads. In this paper we describe such a procedure. The procedure's scalability is achieved through the use of environment models that abstract away the surrounding threads. The procedure's accuracy is due to a novel method of incrementally constructing environment abstractions. Our method finds the conditions that a thread requires of its environment in order to establish termination by looking at the conditions necessary to prove that certain paths through the thread represent well-founded relations if executed in isolation of the other threads. The paper gives a description of experimental results using an implementation of our procedureon Windows device drivers and adescription of a previously unknown bug found withthe tool.
Cited by 52 works. doi:10.1145/1250734.1250771
Authors
References
- Model checking
- The model checker SPIN
- Model Checking
- Automatic discovery of linear restraints among variables of a program
- Defining liveness
- Axiomatic approach to total correctness of programs
- Model checking JAVA programs using JAVA PathFinder
- Partial-Order Methods for the Verification of Concurrent Systems: An Approach to the State-Explosion Problem
- Reduction
- A static analyzer for large safety-critical software