IncA

A DSL for the Definition of Incremental Program Analyses

Conference Paper (2016)
Author(s)

Tamas Szabo (Itemis AG, TU Delft - Programming Languages)

Sebastian Erdweg (TU Delft - Programming Languages)

Markus Voelter (Itemis AG)

Research Group
Programming Languages
DOI related publication
https://doi.org/10.1145/2970276.2970298
More Info
expand_more
Publication Year
2016
Language
English
Research Group
Programming Languages
Pages (from-to)
320-331
ISBN (print)
978-1-4503-3845-5

Abstract

Program analyses support software developers, for example, through error detection, code-quality assurance, and by enabling compiler optimizations and refactorings. To provide real-time feedback to developers within IDEs, an analysis must run efficiently even if the analyzed code base is large.

To achieve this goal, we present a domain-specific language called IncA for the definition of efficient incremental program analyses that update their result as the program changes. IncA compiles analyses into graph patterns and relies on existing incremental matching algorithms. To scale IncA analyses to large programs, we describe optimizations that reduce caching and prune change propagation. Using IncA, we have developed incremental control flow and points-to analysis for C, well-formedness checks for DSLs, and 10 FindBugs checks for Java. Our evaluation demonstrates significant speedups for all analyses compared to their non-incremental counterparts.

No files available

Metadata only record. There are no files for this record.