Faster numeric static analyses with unconstrained variable oracles
In the context of static analysis based on abstract interpretation, we propose a lightweight pre-analysis step which is meant to suggest, at each program point, which program variables are likely to be unconstrained for a specific class of numeric abstract properties. Using the outcome of this pre-analysis step as an oracle, we simplify the statements of the program being analyzed by propagating this lack of information, aiming at fine-tuning the precision/efficiency trade-off of the target static analysis. A thorough experimental evaluation considering real world programs shows that the idea underlying the approach is promising. We first discuss and evaluate several variants of the pre-analysis step, measuring their accuracy at predicting unconstrained variables, so as to identify the most effective ones. Then we evaluate how these pre-analyses affect the target static analysis, showing that they can improve the efficiency of the more costly analysis while having a limited effect on its precision.
Authors
- Greta Dolcetti (ORCID: https://orcid.org/0000-0002-2983-9251)
- Vincenzo Arceri (ORCID: https://orcid.org/0000-0002-5150-0393)
- Enea Zaffanella (ORCID: https://orcid.org/0000-0001-6388-2053)
- F. Bianchi (ORCID: https://orcid.org/0009-0008-2730-0296)
Institutions
- University of Parma (IT)
- Ca' Foscari University of Venice (IT)
Publication Details
- Journal
- PeerJ Computer Science
- Published
- 2025-11-28
- DOI
- https://doi.org/10.7717/peerj-cs.3390
- Primary Topic
- Logic, programming, and type systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Università degli Studi di Parma