1. Deadlock-Guided Testing
- Author
-
Miguel Gomez-Zamalloa and Miguel Isabel
- Subjects
Deadlock analysis ,deadlock detection ,symbolic execution ,testing ,test case generation ,verification ,Electrical engineering. Electronics. Nuclear engineering ,TK1-9971 - Abstract
Static deadlock analyses might be able to verify the absence of deadlock. However, they are usually not able to detect its presence. Moreover, when a potential deadlock is detected, they provide little (and often no) information that can help the user in finding the source of the anomalous behaviour. This paper proposes a testing methodology that combines static analysis and symbolic execution for effective deadlock detection in asynchronous programs. When the program features a deadlock, our testing methodology provides an effective technique to catch deadlock traces. While if the program does not have deadlock, but the static deadlock analysis inaccurately spotted it, our approach is able to prove deadlock freedom (up to the limit of the performed symbolic exploration).
- Published
- 2021
- Full Text
- View/download PDF