Configuration coverage in the analysis of large-scale system software
Open Access
- 11 January 2012
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGOPS Operating Systems Review
- Vol. 45 (3) , 10-14
Abstract
System software, especially operating systems, tends to be highly configurable. Like every complex piece of software, a considerable amount of bugs in the implementation has to be expected. In order to improve the general code quality, tools for static analysis provide means to check for source code defects without having to run actual test cases on real hardware. Still, for proper type checking a specific configuration is required so that all header include paths are available and all types are properly resolved. In order to find as many bugs as possible, usually a "full configuration" is used for the check. However, mainly because of alternative blocks in form of #else-blocks, a single configuration is insufficient to achieve full coverage. In this paper, we present a metric for configuration coverage (CC) and explain the challenges for (properly) calculating it. Furthermore, we present an efficient approach for determining a sufficiently small set of configurations that achieve (nearly) full coverage and evaluate it on a recent Linux kernel version.Keywords
This publication has 9 references indexed in Scilit:
- Variability-aware parsing in the presence of lexical macros and conditional compilation2011
- Feature consistency in compile-time-configurable system software2011
- Faults in linux2011
- An analysis of the variability in forty preprocessor-based software product lines2010
- The aspect-oriented design of the PUMA C/C++ parser framework2010
- A few billion lines of code laterCommunications of the ACM, 2010
- A tale of four kernels2008
- /*icomment2007
- Bugs as deviant behavior2001