DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · 2015 · 24 citations · 16 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSoftware EngineeringAbstract InterpretationAbstract Syntax TreesControl-flow AnalysisData-flow AnalysisObject-oriented AnalysisSoftware DesignAbstraction MechanismsGalois ConnectionsInterprocedural Data-flow AnalysisInterprocedural Dataflow AnalysisIntraprocedural Data-flow AnalysisObject-oriented ArchitecturePrecisionSoftware Product Lines
Family-based (lifted) data-flow analysis for Software Product Lines (SPLs) is capable of analyzing all valid products (variants) without generating any of them explicitly. It takes as input only the common code base, which encodes all variants of a SPL, and produces analysis results corresponding to all variants. However, the computational cost of the lifted analysis still depends inherently on the number of variants (which is exponential in the number of features, in the worst case). For a large number of features, the lifted analysis may be too costly or even infeasible. In this paper, we introduce variability abstractions defined as Galois connections and use abstract interpretation as a formal method for the calculational-based derivation of approximate (abstracted) lifted analyses of SPL programs, which are sound by construction. Moreover, given an abstraction we define a syntactic transformation that translates any SPL program into an abstracted version of it, such that the analysis of the abstracted SPL coincides with the corresponding abstracted analysis of the original SPL. We implement the transformation in a tool, that works on Object-Oriented Java program families, and evaluate the practicality of this approach on three Java SPL benchmarks.
16
Systematic design of program analysis frameworks
Patrick Cousot, Radhia Cousot · 1979 · 1.6K citations · Full text
Precise interprocedural dataflow analysis via graph reachability
Thomas Reps, Susan Horwitz, Mooly Sagiv · 1995 · 1.2K citations
Raja Vallée-Rai, Phong Co, Étienne Gagnon et al. · 2010 · 939 citations
Granularity in software product lines
Christian Kästner, Sven Apel, Martin Kuhlemann · 2008 · 495 citations