Program verification by lazy abstraction

Jhala R. 2004. Program verification by lazy abstraction. University of California, Berkeley.

Download
No fulltext has been uploaded. References only!
Thesis | Published | English
Author
Jhala, Ranjit
Abstract
The enormous cost and ubiquity of software errors necessitates the need for techniques and tools that can precisely analyze large systems and prove that they meet given specifications, or if they don't, return counterexample behaviors showing how the system fails. Recent advances in model checking, decision procedures, program analysis and type systems, and a shift of focus to partial specifications common to several systems (e.g., memory safety and race freedom) have resulted in several practical verification methods. However, these methods are either precise or they are scalable, depending on whether they track the values of variables or only a fixed small set of dataflow facts (e.g., types), and are usually insufficient for precisely verifying large programs. We describe a new technique called Lazy Abstraction (LA) which achieves both precision and scalability by localizing the use of precise information. LA automatically builds, explores and refines a single abstract model of the program in a way that different parts of the model exhibit different degrees of precision, namely just enough to verify the desired property. The algorithm automatically mines the information required by partitioning mechanical proofs of unsatisfiability of spurious counterexamples into Craig Interpolants. For multithreaded systems, we give a new technique based on analyzing the behavior of a single thread executing in a context which is an abstraction of the other (arbitrarily many) threads. We define novel context models and show how to automatically infer them and analyze the full system (thread + context) using LA. LA is implemented in BLAST. We have run BLAST on Windows and Linux Device Drivers to verify API conformance properties, and have used it to find (or guarantee the absence of) data races in multithreaded Networked Embedded Systems (NESC) applications. BLAST is able to prove the absence of races in several cases where earlier methods, which depend on lock-based synchronization, fail.
Publishing Year
Date Published
2004-12-01
Page
1 - 165
IST-REx-ID

Cite this

Jhala R. Program verification by lazy abstraction. 2004:1-165.
Jhala, R. (2004). Program verification by lazy abstraction. University of California, Berkeley.
Jhala, Ranjit. “Program Verification by Lazy Abstraction.” University of California, Berkeley, 2004.
R. Jhala, “Program verification by lazy abstraction,” University of California, Berkeley, 2004.
Jhala R. 2004. Program verification by lazy abstraction. University of California, Berkeley.
Jhala, Ranjit. Program Verification by Lazy Abstraction. University of California, Berkeley, 2004, pp. 1–165.

Export

Marked Publications

Open Data ISTA Research Explorer

Search this title in

Google Scholar