kirancodes.me
To Proof Maintenance & Beyond!

Interactive debugging of concurrent programs under relaxed memory models

Aakanksha Verma, Pankaj Kumar Kalita, Awanish Pandey, Subhajit Roy

Abstract

Programming environments for sequential programs provide strong debugging support. However, concurrent programs, especially under relaxed memory models, lack powerful interactive debugging tools. In this work, we present Gambit, an interactive debugging environment that uses gdb to run a concrete debugging session on a concurrent program, while employing a symbolic execution on the program trace in the background simultaneously. The symbolic execution is analysed by a theorem prover to answer queries from the programmer on possible scenarios resulting from alternate thread interleavings or due to reorderings on other relaxed memory models.

Related papers