Variability-Aware Static Analysis at Scale

Author:

Rhein Alexander Von1,Liebig JöRG2,Janker Andreas3,Kästner Christian4,Apel Sven5ORCID

Affiliation:

1. CQSE GmbH, Garching, Germany

2. 4Soft GmbH, Munich, Germany

3. Capgemini Deutschland GmbH, Munich, Germany

4. Carnegie Mellon University, Pittsburgh, PA, USA

5. University of Passau, Passau, Germany

Abstract

The advent of variability management and generator technology enables users to derive individual system variants from a configurable code base by selecting desired configuration options. This approach gives rise to the generation of possibly billions of variants, which, however, cannot be efficiently analyzed for bugs and other properties with classic analysis techniques. To address this issue, researchers and practitioners have developed sampling heuristics and, recently, variability-aware analysis techniques. While sampling reduces the analysis effort significantly, the information obtained is necessarily incomplete, and it is unknown whether state-of-the-art sampling techniques scale to billions of variants. Variability-aware analysis techniques process the configurable code base directly, exploiting similarities among individual variants with the goal of reducing analysis effort. However, while being promising, so far, variability-aware analysis techniques have been applied mostly only to small academic examples. To learn about the mutual strengths and weaknesses of variability-aware and sample-based static-analysis techniques, we compared the two by means of seven concrete control-flow and data-flow analyses, applied to five real-world subject systems: B usybox , O pen SSL, SQL ite , the x86 L inux kernel, and u C libc . In particular, we compare the efficiency (analysis execution time) of the static analyses and their effectiveness (potential bugs found). Overall, we found that variability-aware analysis outperforms most sample-based static-analysis techniques with respect to efficiency and effectiveness. For example, checking all variants of O pen SSL with a variability-aware static analysis is faster than checking even only two variants with an analysis that does not exploit similarities among variants.

Funder

DFG

Science of Security Lablet

NSF

U.S. Department of Defense through the Systems Engineering Research Center

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Cited by 45 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Give an Inch and Take a Mile? Effects of Adding Reliable Knowledge to Heuristic Feature Tracing;28th ACM International Systems and Software Product Line Conference;2024-09-02

2. Towards Efficient Build Ordering for Incremental Builds with Multiple Configurations;Proceedings of the ACM on Software Engineering;2024-07-12

3. Are You Trapped in the Configuration Abyss? An Interview With Prof. Sven Apel;IEEE Software;2024-07

4. Feature causality;Journal of Systems and Software;2024-03

5. Performance evolution of configurable software systems: an empirical study;Empirical Software Engineering;2023-11

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3