Skip to main content

Artigo em periódicoOpen Access

A method to localize faults in concurrent C programs

ALVES, E. H. S.2017ALVES, E. H. S.; CORDEIRO, L. C.; BATISTA FILHO, E. L

2017 • Journal of Systems and Software • 11 citações

Resumo

Resumo

Abstract We describe a new approach to localize faults in concurrent programs, which is based on bounded model checking and sequentialization techniques. The main novelty is the idea of reproducing a faulty behavior, in a sequential version of a concurrent program. In order to pinpoint faulty lines, we analyze counterexamples generated by a model checker, to the new instrumented sequential program, and search for a diagnostic value, which corresponds to actual lines in a program. This approach is useful to improve debugging processes for concurrent programs, since it tells which line should be corrected and what values lead to a successful execution. We implemented this approach as a code-to-code transformation from concurrent into non-deterministic sequential programs, which are used as inputs to existing verification tools. Experimental results show that our approach is effective and capable of identifying faults in our benchmark set, which was extracted from the SV-COMP 2016 suite.

palavras-chave

Palavras-chave

fault locationconcurrent programsbounded model checkingsequentializationcounterexample analysisdiagnostic valuedebugging

Volume

132

Páginas

336-352

Editora

Elsevier BV

Status

Published

links

Artigo em periódico