A Formal Framework to Measure the Incompleteness of Abstract Interpretations - Inria - Institut national de recherche en sciences et technologies du numérique
Conference Papers Year : 2023

A Formal Framework to Measure the Incompleteness of Abstract Interpretations

Abstract

In program analysis by abstract interpretation, backward-completeness represents no loss of precision between the result of the analysis and the abstraction of the concrete execution, while forward-completeness stands for no imprecision between the concretization of the analysis result and the concrete execution. Program analyzers satisfying one of the two properties (or both) are considered precise. Regrettably, as for all approximation methods, the presence of false-alarms is most of the time unavoidable and therefore we need to deal somehow with incompleteness of both. To this end, a new property called partial completeness has recently been formalized as a relaxation of backward-completeness allowing a limited amount of imprecision measured by quasi-metrics. However, the use of quasi-metrics enforces distance functions to adhere precisely the abstract domain ordering, thus not suitable to be used to weaken the forward-completeness property which considers also abstract domains that are not necessarily based on Galois Connections. In this paper, we formalize a weaker form of quasi-metric, called pre-metric, which can be defined on all domains equipped with a pre-order relation. We show how this newly defined notion of pre-metric allows us to derive other pre-metrics on other domains by exploiting the concretization and, when available, the abstraction maps, according to the information and the corresponding level of approximation that we want to measure. Finally, by exploiting pre-metrics as our imprecision meter, we introduce the partial forward/backward-completeness properties.
Fichier principal
Vignette du fichier
sas2023.pdf (603.39 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-04249990 , version 1 (19-10-2023)

Licence

Identifiers

  • HAL Id : hal-04249990 , version 1

Cite

Marco Campion, Caterina Urban, Mila Dalla Preda, Roberto Giacobazzi. A Formal Framework to Measure the Incompleteness of Abstract Interpretations. 30th International Static Analysis Symposium (SAS 2023), Oct 2023, Cascais, Portugal. ⟨hal-04249990⟩
55 View
59 Download

Share

More