Mukherjee, Suvam and Padon, Oded and Shoham, Sharon and D’Souza, Deepak and Rinetzky, Noam (2017) Thread-Local Semantics and Its Efficient Sequential Abstractions for Race-Free Programs. In: 24th International Symposium on Static Analysis, SAS 2017, 30 August 2017 - 1 September 2017, New York, pp. 253-276.
PDF
978-3-319-66706-5_13.pdf - Published Version Restricted to Registered users only Download (1MB) | Request a copy |
Abstract
Data race free (DRF) programs constitute an important class of concurrent programs. In this paper we provide a framework for designing and proving the correctness of data flow analyses that target this class of programs, and which are in the same spirit as the “sync-CFG” analysis originally proposed in [9]. To achieve this, we first propose a novel concrete semantics for DRF programs called L-DRF that is thread-local in nature with each thread operating on its own copy of the data state. We show that abstractions of our semantics allow us to reduce the analysis of DRF programs to a sequential analysis. This aids in rapidly porting existing sequential analyses to scalable analyses for DRF programs. Next, we parameterize the semantics with a partitioning of the program variables into “regions” which are accessed atomically. Abstractions of the region-parameterized semantics yield more precise analyses for region-race free concurrent programs. We instantiate these abstractions to devise efficient relational analyses for race free programs, which we have implemented in a prototype tool called RATCOP. On the benchmarks, RATCOP was able to prove upto 65% of the assertions, in comparison to 25% proved by a version of the analysis from [9].
Item Type: | Conference Proceedings |
---|---|
Series.: | Lecture Notes in Computer Science |
Publisher: | Springer Verlag |
Additional Information: | The Copyright of this article belongs to the Springer Verlag. |
Keywords: | Abstracting; Semantics; Static analysis; Abstracting; Semantics; Static analysis; Data flow analysis |
Department/Centre: | Division of Electrical Sciences > Computer Science & Automation |
Date Deposited: | 26 May 2022 04:34 |
Last Modified: | 21 Apr 2024 16:22 |
URI: | https://eprints.iisc.ac.in/id/eprint/72604 |
Actions (login required)
View Item |