Abstract
Predictive analysis aims at detecting concurrency errors during runtime by monitoring a concrete execution trace of a concurrent program.In recent years, various models based on the happens-before causality relations have been proposed for predictive analysis. However, these models often rely on only the observed runtime events and typically do not utilize the program source code. Furthermore, the enumerative algorithms they use for verifying safety properties in the predicted traces often suffer from the interleaving explosion problem. In this paper, we introduce a precise predictive model based on both the program source code and the observed execution events, and propose a symbolic algorithm to check whether a safety property holds in all feasible permutations of events of the given trace. Rather than explicitly enumerating and checking the interleavings, our method conducts the search using a novel encoding and symbolic reasoning with a satisfiability modulo theory solver.We also propose a technique to bound the number of context switches allowed in the interleavings during the symbolic search, to further improve the scalability of the algorithm. BCS
Original language | English (US) |
---|---|
Pages (from-to) | 781-805 |
Number of pages | 25 |
Journal | Formal Aspects of Computing |
Volume | 23 |
Issue number | 6 |
DOIs | |
State | Published - Nov 2011 |
All Science Journal Classification (ASJC) codes
- Theoretical Computer Science
- Software
Keywords
- Concurrent trace program
- Context bounding
- Happens-before
- Predictive analysis
- SAT
- SMT