Skip to Main content Skip to Navigation
Other publications

WYSIWIB: A Declarative Approach to Finding Protocols and Bugs in Linux Code

Abstract : Although a number of approaches to finding bugs in systems code have been proposed, bugs still remain to be found. Current approaches have emphasized scalability more than usability, and as a result it is difficult to relate the results to particular patterns found in the source code and to control the tools to be able to find specific kinds of bugs. In this paper, we propose a declarative approach based on a control-flow based program search engine. Our approach is WYSIWIB (What You See Is Where It Bugs), since the programmer is able to express specifications for protocol and bug finding using a syntax that is close to that of ordinary C code. Search specifications, called semantic matches, can be easily tailored so as to either eliminate false positives or catch more potential bugs. We introduce our approach by describing three case studies which have allowed us to find 395 bugs.
Complete list of metadata

Cited literature [9 references]  Display  Hide  Download
Contributor : Gilles Muller Connect in order to contact the contributor
Submitted on : Tuesday, July 8, 2008 - 2:11:39 PM
Last modification on : Tuesday, December 8, 2020 - 9:56:41 AM
Long-term archiving on: : Monday, October 1, 2012 - 10:55:31 AM


Files produced by the author(s)


  • HAL Id : hal-00294004, version 1



Julia Lawall, Julien Brunel, René Hansen, Henrik Stuart, Gilles Muller. WYSIWIB: A Declarative Approach to Finding Protocols and Bugs in Linux Code. 2008. ⟨hal-00294004⟩



Record views


Files downloads