Communication Dans Un Congrès Année : 2026

The Virtual Recency Abstraction: Strong Updates for Abstract Interpreters with Shared State

Résumé

Abstract interpreters enable sound static analysis, but are hard to develop. In recent years, researchers have proposed a component-based approach to developing abstract interpreters, where different parts of the abstract domain (e.g., numeric, call frame, heap) are handled by isolated components. This works well as long as components do not share or expose their internal state: Any state update that is locally sound is also globally sound. However, some abstract domains require shared state, most prominently relational abstract domains, which use symbolic expressions such as 2x + 5 to represent abstract values. As the relational component performs a strong update of x, the abstract value 2x + 5 can change non-monotonically, which breaks soundness. We propose a novel solution to this problem: A virtual recency abstractions that decouples the relational component, supports strong updates, and allows recursion. We prove that the virtual recency abstraction restores soundness: Any shared state wrapped in our virtual recency abstraction may be locally updated non-monotonically, while global soundness persists. We applied our approach to develop the first relational WebAssembly analysis, reusing many components from an existing inter-procedural abstract interpreter. Furthermore, we evaluate the recall, precision, and scalibility of this analysis to demonstrate the practicality of the virtual recency abstraction.

Fichier principal
Vignette du fichier
vra.pdf (1000.84 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Licence

Dates et versions

hal-05604182 , version 1 (27-04-2026)

Licence

Identifiants

  • HAL Id : hal-05604182 , version 1

Citer

Sven Keidel, Raphaël Monat, Sebastian Erdweg. The Virtual Recency Abstraction: Strong Updates for Abstract Interpreters with Shared State. ECOOP 2026 - 40th European Conference on Object-Oriented Programming, Jun 2026, Brussels, Belgium. ⟨hal-05604182⟩
0 Consultations
0 Téléchargements

Partager

  • More