Projecten per jaar
Samenvatting
Static analyses can be used by developers to compute properties of a program, enabling e.g., bug detection and program verification. However, reanalysing a program from scratch upon every change is time-consuming, especially in settings where code changes often, such as within IDEs. To avoid such full reanalyses, incremental analyses instead reuse parts of the previous analysis result, and reanalyse the changed code as necessary.
While incrementality improves the analysis time, we introduce a complementary approach that further reduces the analysis time. A traditional incremental analysis updates previous analysis results without domain-specific knowledge. However, the effect of particular source code changes on analysis results can be predicted. Performing a traditional incremental analysis of the changed code might therefore be unnecessary. Instead, we propose to detect code change patterns of which the effect on analysis results can be predicted and to update these results accordingly, saving potentially expensive computations.
In this paper, we explore the idea of adapting the analysis results for behaviour-preserving change patterns. In particular, we consider consistent renamings, inverted conditionals, and moved function definitions within Scheme programs. We implemented our approach and evaluated it on 30 programs. We show decreases in incremental analysis time between 3% and 99% on 25 programs that contain at least one behaviour-preserving change pattern.
While incrementality improves the analysis time, we introduce a complementary approach that further reduces the analysis time. A traditional incremental analysis updates previous analysis results without domain-specific knowledge. However, the effect of particular source code changes on analysis results can be predicted. Performing a traditional incremental analysis of the changed code might therefore be unnecessary. Instead, we propose to detect code change patterns of which the effect on analysis results can be predicted and to update these results accordingly, saving potentially expensive computations.
In this paper, we explore the idea of adapting the analysis results for behaviour-preserving change patterns. In particular, we consider consistent renamings, inverted conditionals, and moved function definitions within Scheme programs. We implemented our approach and evaluated it on 30 programs. We show decreases in incremental analysis time between 3% and 99% on 25 programs that contain at least one behaviour-preserving change pattern.
Originele taal-2 | English |
---|---|
Titel | SCAM 23rd IEEE International Working Conference on Source Code Analysis and Manipulation |
Redacteuren | Leon Moonen, Christian Newman, Alessandra Gorla |
Uitgeverij | IEEE |
Pagina's | 49-60 |
Aantal pagina's | 12 |
ISBN van elektronische versie | 979-8-3503-0506-7 |
DOI's | |
Status | Published - okt 2023 |
Evenement | 23rd IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2023) - Bogotá, Colombia Duur: 2 okt 2023 → 3 okt 2023 Congresnummer: 23 https://www.ieee-scam.org/2023/ |
Publicatie series
Naam | Proceedings - 2023 IEEE 23rd International Working Conference on Source Code Analysis and Manipulation, SCAM 2023 |
---|
Conference
Conference | 23rd IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2023) |
---|---|
Verkorte titel | SCAM |
Land/Regio | Colombia |
Stad | Bogotá |
Periode | 2/10/23 → 3/10/23 |
Internet adres |
Bibliografische nota
Publisher Copyright:© 2023 IEEE.
Vingerafdruk
Duik in de onderzoeksthema's van 'Change Pattern Detection for Optimising Incremental Static Analysis'. Samen vormen ze een unieke vingerafdruk.-
VLAAI2: Cybersecurity Onderzoeksprogramma Vlaanderen – tweede cyclus
De Meuter, W., Braeken, A., Devriese, D., Gonzalez Boix, E. & De Roover, C.
1/01/24 → 31/12/28
Project: Toegepast
-
-
FWOTM979: Incrementele Statische Programma-analyse via Modulariteit
De Roover, C. & Van der Plas, J.
1/11/19 → 31/10/23
Project: Fundamenteel
-
Change Pattern Detection for Optimising Incremental Static Analysis
Cindy Wauters (Speaker)
28 nov 2023Activiteit: Talk or presentation at a workshop/seminar
-
Change Pattern Detection for Optimising Incremental Static Analysis
Cindy Wauters (Speaker)
2 okt 2023Activiteit: Talk or presentation at a conference