Semantic-Directed Clumping of Disjunctive Abstract States * - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2017

Semantic-Directed Clumping of Disjunctive Abstract States *

Résumé

To infer complex structural invariants, shape analyses rely on expressive families of logical properties. Many such analyses manipulate abstract memory states that consist of separating conjunctions of basic predicates describing atomic blocks or summaries. Moreover, they use finite disjunctions of abstract memory states in order to account for dissimilar shapes. Disjunctions should be kept small for scalability, though precision often requires keeping additional case splits. In this context, deciding when and how to merge case splits and to replace them with summaries is critical both for precision and efficiency. Existing techniques use sets of syntactic rules, which are tedious to design and prone to failure. In this paper, we design a semantic criterion to clump abstract states based on their silhouette, which applies not only to the conservative union of disjuncts but also to the weakening of separating conjunctions of memory predicates into inductive summaries. Our approach allows us to define union and widening operators that aim at preserving the case splits that are required for the analysis to succeed. We implement this approach in the MemCAD analyzer and evaluate it on real-world C codes from existing libraries dealing with doubly-linked lists, red-black trees, AVL-trees and splay-trees.
Fichier principal
Vignette du fichier
popl17.pdf (405.48 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01648679 , version 1 (27-11-2017)

Identifiants

Citer

Huisong Li, François Bérenger, Bor-Yuh Evan Chang, Xavier Rival. Semantic-Directed Clumping of Disjunctive Abstract States *. POPL 2017 - 44th ACM SIGPLAN Symposium on Principles of Programming Languages, Jan 2017, Paris, France. pp.32-45, ⟨10.1145/3009837.3009881⟩. ⟨hal-01648679⟩
260 Consultations
224 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More