A Robust Approach for Variability Extraction from the Linux Build System

Dietrich C, Tartler R, Schröder-Preikschat W, Lohmann D (2012)


Publication Type: Conference contribution

Publication year: 2012

Publisher: ACM Press

Edited Volumes: ACM International Conference Proceeding Series

City/Town: New York

Book Volume: 1

Pages Range: 21-30

Conference Proceedings Title: Proceedings of the 16th International Software Product Line Conference

Event location: Salvador - Brazil

ISBN: 978-1-4503-1094-9

URI: http://www4.cs.fau.de/Publications/2012/dietrich_12_splc.pdf

DOI: 10.1145/2362536.2362544

Abstract

With more than 11,000 optional and alternative features, the Linux kernel is a highly configurable piece of software. Linux is generally perceived as a textbook example for preprocessor-based product derivation, but more than 65 percent of all features are actually handled by the build system. Hence, variability-aware static analysis tools have to take the build system into account. However, extracting variability information from the build system is difficult due to the declarative and turing-complete MAKE language. Existing approaches based on text processing do not cover this challenges and tend to be tailored to a specific Linux version and architecture. This renders them practically unusable as a basis for variability-aware tool support - Linux is a moving target! We describe a robust approach for extracting implementation variability from the Linux build system. Instead of extracting the variability information by a text-based analysis of all build scripts, our approach exploits the build system itself to produce this information. As our results show, our approach is robust and works for all versions and architectures from the (git-)history of Linux. Copyright © 2012 ACM.

Authors with CRIS profile

Related research project(s)

How to cite

APA:

Dietrich, C., Tartler, R., Schröder-Preikschat, W., & Lohmann, D. (2012). A Robust Approach for Variability Extraction from the Linux Build System. In Proceedings of the 16th International Software Product Line Conference (pp. 21-30). Salvador - Brazil: New York: ACM Press.

MLA:

Dietrich, Christian, et al. "A Robust Approach for Variability Extraction from the Linux Build System." Proceedings of the 16th International Software Product Line Conference, Salvador - Brazil New York: ACM Press, 2012. 21-30.

BibTeX: Download