HIPPODROME: Data Race Repair using Static Analysis Summaries

Andreea Costea, Abhishek Tiwari, Sigmund Chianasta, Kishore R, Abhik Roychoudhury +1 more
8/5/2021
cs.SEcs.PL

Official code: verse-lab/hippodrome (7 stars, Java, last commit 2022-03-17).

Abstract

Implementing bug-free concurrent programs is a challenging task in modern software development. State-of-the-art static analyses find hundreds of concurrency bugs in production code, scaling to large codebases.

Show full abstract

Yet, fixing these bugs in constantly changing codebases represents a daunting effort for programmers, particularly because a fix in the concurrent code can introduce other bugs in a subtle way. In this work, we show how to harness compositional static analysis for concurrency bug detection, to enable a new Automated Program Repair (APR) technique for data races in large concurrent Java codebases. The key innovation of our work is an algorithm that translates procedure summaries inferred by the analysis tool for the purpose of bug reporting, into small local patches that fix concurrency bugs (without introducing new ones). This synergy makes it possible to extend the virtues of compositional static concurrency analysis to APR, making our approach effective (it can detect and fix many more bugs than existing tools for data race repair), scalable (it takes seconds to analyse and suggest fixes for sizeable codebases), and usable (generally, it does not require annotations from the users and can perform continuous automated repair). Our study conducted on popular open-source projects has confirmed that our tool automatically produces concurrency fixes similar to those proposed by the developers in the past.

View on arXivView PDF

Code Implementations(1)

An automatic program repair tool for data races in Java programs.

71Java, ScalaJul 22, 20204 years ago

Similar Papers

Cite this paper

@article{costea2021hippodrome,
  title  = {HIPPODROME: Data Race Repair using Static Analysis Summaries},
  author = {Andreea Costea and Abhishek Tiwari and Sigmund Chianasta and Kishore R and Abhik Roychoudhury and Ilya Sergey},
  year   = {2021},
  eprint = {2108.02490},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.02490}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.02490.svg)](https://codeofpaper.com/paper/2108.02490)

Discussion