A true positives theorem for a static race detector
Gkorogiannis, Nikos ORCID: https://orcid.org/0000-0001-8660-6609, O'Hearn, Peter W. and Sergey, Ilya
(2019)
A true positives theorem for a static race detector.
Proceedings of the ACM on Programming Languages, Volume 3 Issue POPL.
In: POPL 2019, 12-19 Jan 2019, Cascais, Portugal.
.
ISSN 2475-1421
[Conference or Workshop Item]
(doi:10.1145/3290370)
|
PDF
- Published version (with publisher's formatting)
Available under License Creative Commons Attribution 4.0. Download (533kB) | Preview |
Abstract
RacerD is a static race detector that has been proven to be effective in engineering practice: it has seen thousands of data races fixed by developers before reaching production, and has supported the migration of Facebook's Android app rendering infrastructure from a single-threaded to a multi-threaded architecture. We prove a True Positives Theorem stating that, under certain assumptions, an idealized theoretical version of the analysis never reports a false positive. We also provide an empirical evaluation of an implementation of this analysis, versus the original RacerD.
The theorem was motivated in the first case by the desire to understand the observation from production that RacerD was providing remarkably accurate signal to developers, and then the theorem guided further analyzer design decisions. Technically, our result can be seen as saying that the analysis computes an under-approximation of an over-approximation, which is the reverse of the more usual (over of under) situation in static analysis. Until now, static analyzers that are effective in practice but unsound have often been regarded as ad hoc; in contrast, we suggest that, in the future, theorems of this variety might be generally useful in understanding, justifying and designing effective static analyses for bug catching.
Item Type: | Conference or Workshop Item (Paper) |
---|---|
Research Areas: | A. > School of Science and Technology > Computer Science > Foundations of Computing group |
Item ID: | 29747 |
Notes on copyright: | © 2019 Copyright held by the owner/author(s).
This work is licensed under a Creative Commons Attribution 4.0 International Licence. |
Useful Links: | |
Depositing User: | Nikos Gkorogiannis |
Date Deposited: | 27 Apr 2020 10:05 |
Last Modified: | 23 Nov 2021 11:59 |
URI: | https://eprints.mdx.ac.uk/id/eprint/29747 |
Actions (login required)
![]() |
View Item |
Statistics
Additional statistics are available via IRStats2.