The S LAM project

Thomas Ball, Sriram K. Rajamani

2002 · 926 citations · 23 references

Concepts

TL;DR

SLAM builds on program analysis, model checking, and automated deduction techniques. The SLAM project aims to verify that programs adhere to API usage rules defining good API clients. The SLAM toolkit statically analyzes C programs, inferring invariants without programmer annotations and reducing false positives via counterexample‑driven refinement. SLAM was successfully applied to Windows XP device drivers, validating behavior and uncovering kernel API usage defects.

Abstract

The goal of the SLAM project is to check whether or not a program obeys "API usage rules" that specify what it means to be a good client of an API. The SLAM toolkit statically analyzes a C program to determine whether or not it violates given usage rules. The toolkit has two unique aspects: it does not require the programmer to annotate the source program (invariants are inferred); it minimizes noise (false error messages) through a process known as "counterexample-driven refinement". SLAM exploits and extends results from program analysis, model checking and automated deduction. We have successfully applied the SLAM toolkit to Windows XP device drivers, to both validate behavior and find defects in their usage of kernel APIs.

References

23