Capítulo de livro Acesso aberto Revisado por pares

Bounded Model Checking of Multi-threaded C Programs via Lazy Sequentialization

2014; Springer Science+Business Media; Linguagem: Inglês

10.1007/978-3-319-08867-9_39

ISSN

1611-3349

Autores

Omar Inverso, Ermenegildo Tomasco, Bernd Fischer, Salvatore La Torre, Gennaro Parlato,

Tópico(s)

Real-Time Systems Scheduling

Resumo

Bounded model checking (BMC) has successfully been used for many practical program verification problems, but concurrency still poses a challenge. Here we describe a new approach to BMC of sequentially consistent C programs using POSIX threads. Our approach first translates a multi-threaded C program into a nondeterministic sequential C program that preserves reachability for all round-robin schedules with a given bound on the number of rounds. It then re-uses existing high-performance BMC tools as backends for the sequential verification problem. Our translation is carefully designed to introduce very small memory overheads and very few sources of nondeterminism, so that it produces tight SAT/SMT formulae, and is thus very effective in practice: our prototype won the concurrency category of SV-COMP14. It solved all verification tasks successfully and was 30x faster than the best tool with native concurrency handling.

Referência(s)