Termination proofs for systems code
Byron Cook, Andreas Podelski, Andrey Rybalchenko · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 2006
Program termination is central to the process of ensuring that systems code can always react. We describe a new program termination prover that performs a path-sensitive and context-sensitive program analysis and provides capacity for large program fragments (i.e. more than 20,000 lines of code) together with support for programming language features such as arbitrarily nested loops, pointers, function-pointers, side-effects, etc.We also present experimental results on device driver dispatch routines from theWindows operating system. The most distinguishing aspect of our tool is how it shifts the balance between the two tasks of constructing and respectively checking the termination argument. Checking becomes the hard step. In this paper we show how we solve the corresponding challenge of checking with binary reachability analysis.
Cited by 240 works. doi:10.1145/1133981.1134029
Authors
References
- On Computable Numbers, with an Application to the Entscheidungsproblem
- Assigning meanings to programs
- Thorough static analysis of device drivers
- Abstractions from proofs
- A static analyzer for large safety-critical software
- The size-change principle for program termination
- A Complete Method for the Synthesis of Linear Ranking Functions
- Abstract debugging of higher-order imperative languages
- Linear Ranking with Reachability
- Abstraction Refinement for Termination