English

Data Race Detection by Digest-Driven Abstract Interpretation (Extended Version)

Programming Languages 2025-11-26 v2 Software Engineering

Abstract

Sound static analysis can prove the absence of data races by establishing that no two conflicting memory accesses can occur at the same time. We repurpose the concept of digests -- summaries of computational histories originally introduced to bring tunable concurrency-sensitivity to thread-modular value analysis by abstract interpretation, extending this idea to race detection: We use digests to capture the conditions under which conflicting accesses may not happen in parallel. To formalize this, we give a definition of data races in the thread-modular local trace semantics and show how exclusion criteria for potential conflicts can be expressed as digests. We report on our implementation of digest-driven data race detection in the static analyzer Goblint, and evaluate it on the SV-COMP benchmark suite. Combining the lockset digest with digests reasoning on thread ids and thread joins increases the number of correctly solved tasks by more than a factor of five compared to lockset reasoning alone.

Keywords

Cite

@article{arxiv.2511.11055,
  title  = {Data Race Detection by Digest-Driven Abstract Interpretation (Extended Version)},
  author = {Michael Schwarz and Julian Erhard},
  journal= {arXiv preprint arXiv:2511.11055},
  year   = {2025}
}

Comments

Extended of paper accepted to appear at VMCAI'26; 29 Pages, including 2 Appendices

R2 v1 2026-07-01T07:37:03.912Z