English

Clustered Relational Thread-Modular Abstract Interpretation with Local Traces

Programming Languages 2023-01-18 v1

Abstract

We construct novel thread-modular analyses that track relational information for potentially overlapping clusters of global variables - given that they are protected by common mutexes. We provide a framework to systematically increase the precision of clustered relational analyses by splitting control locations based on abstractions of local traces. As one instance, we obtain an analysis of dynamic thread creation and joining. Interestingly, tracking less relational information for globals may result in higher precision. We consider the class of 2-decomposable domains that encompasses many weakly relational domains (e.g., Octagons). For these domains, we prove that maximal precision is attained already for clusters of globals of sizes at most 2.

Keywords

Cite

@article{arxiv.2301.06439,
  title  = {Clustered Relational Thread-Modular Abstract Interpretation with Local Traces},
  author = {Michael Schwarz and Simmo Saan and Helmut Seidl and Julian Erhard and Vesal Vojdani},
  journal= {arXiv preprint arXiv:2301.06439},
  year   = {2023}
}

Comments

Extended version of the paper with the same name which is to appear at ESOP '23

R2 v1 2026-06-28T08:12:38.235Z