< Retour au sommaire

Soutenance de thèse de Ny Andrianina Mamy Razafintsialonina

Titre: Interprétation abstraite incrémentale par réutilisation sûre de résumés et d’invariants de boucle

le

Lieu: Amphitheatre 33, Bâtiment 862

Suivre en visio

Abstract

Sound static analysis aims to prove properties of programs, such as the absence of runtime errors, without executing them. Such sound analyses cover all possible executions of the program, so any property they prove holds for all those executions.

Abstract interpretation is a theory of approximation of program semantics that can be used to design analyses that are sound by construction. It enables industrial analyzers such as Frama-C/Eva to infer program properties automatically.

However, analyzing function calls and loops is a frequent and costly task in static analysis. Moreover, even a small syntactic change to the program can affect the behavior of other parts of the program and require a full reanalysis.

Incremental static analysis reduces this repeated work by reusing previous analysis results. The challenge is to prove that this reuse preserves soundness when applied to an existing non-incremental abstract interpreter.

In this thesis, we develop techniques for soundly reusing previous analysis results after program changes. These techniques add sound incremental analysis to existing non-incremental abstract interpreters, taking the underlying analysis and its soundness guarantee as given.

Our techniques reuse function summaries and loop invariants. We formalize summary construction and reuse and prove sufficient conditions for their soundness. We improve on the state of the art in summary reuse by extending an existing approach to support dynamic memory allocation, allowing more programs to benefit from reuse, and relational abstract domains to accelerate more precise and costly analyses.

We implement these techniques in Frama-C/Eva, a value analyzer for C programs based on abstract interpretation. We evaluate them on real-world commit histories of large open-source C programs: Chrony, Monocypher, and PolarSSL. Our evaluation shows that our incremental analysis delivers significant speedups over full reanalysis, with negligible loss of precision.