Cargando…

Symbolic Partial-Order Execution for Testing Multi-Threaded Programs

We describe a technique for systematic testing of multi-threaded programs. We combine Quasi-Optimal Partial-Order Reduction, a state-of-the-art technique that tackles path explosion due to interleaving non-determinism, with symbolic execution to handle data non-determinism. Our technique iteratively...

Descripción completa

Detalles Bibliográficos
Autores principales: Schemmel, Daniel, Büning, Julian, Rodríguez, César, Laprell, David, Wehrle, Klaus
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7363187/
http://dx.doi.org/10.1007/978-3-030-53288-8_18
_version_ 1783559620031152128
author Schemmel, Daniel
Büning, Julian
Rodríguez, César
Laprell, David
Wehrle, Klaus
author_facet Schemmel, Daniel
Büning, Julian
Rodríguez, César
Laprell, David
Wehrle, Klaus
author_sort Schemmel, Daniel
collection PubMed
description We describe a technique for systematic testing of multi-threaded programs. We combine Quasi-Optimal Partial-Order Reduction, a state-of-the-art technique that tackles path explosion due to interleaving non-determinism, with symbolic execution to handle data non-determinism. Our technique iteratively and exhaustively finds all executions of the program. It represents program executions using partial orders and finds the next execution using an underlying unfolding semantics. We avoid the exploration of redundant program traces using cutoff events. We implemented our technique as an extension of KLEE and evaluated it on a set of large multi-threaded C programs. Our experiments found several previously undiscovered bugs and undefined behaviors in memcached and GNU sort, showing that the new method is capable of finding bugs in industrial-size benchmarks.
format Online
Article
Text
id pubmed-7363187
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-73631872020-07-16 Symbolic Partial-Order Execution for Testing Multi-Threaded Programs Schemmel, Daniel Büning, Julian Rodríguez, César Laprell, David Wehrle, Klaus Computer Aided Verification Article We describe a technique for systematic testing of multi-threaded programs. We combine Quasi-Optimal Partial-Order Reduction, a state-of-the-art technique that tackles path explosion due to interleaving non-determinism, with symbolic execution to handle data non-determinism. Our technique iteratively and exhaustively finds all executions of the program. It represents program executions using partial orders and finds the next execution using an underlying unfolding semantics. We avoid the exploration of redundant program traces using cutoff events. We implemented our technique as an extension of KLEE and evaluated it on a set of large multi-threaded C programs. Our experiments found several previously undiscovered bugs and undefined behaviors in memcached and GNU sort, showing that the new method is capable of finding bugs in industrial-size benchmarks. 2020-06-13 /pmc/articles/PMC7363187/ http://dx.doi.org/10.1007/978-3-030-53288-8_18 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
spellingShingle Article
Schemmel, Daniel
Büning, Julian
Rodríguez, César
Laprell, David
Wehrle, Klaus
Symbolic Partial-Order Execution for Testing Multi-Threaded Programs
title Symbolic Partial-Order Execution for Testing Multi-Threaded Programs
title_full Symbolic Partial-Order Execution for Testing Multi-Threaded Programs
title_fullStr Symbolic Partial-Order Execution for Testing Multi-Threaded Programs
title_full_unstemmed Symbolic Partial-Order Execution for Testing Multi-Threaded Programs
title_short Symbolic Partial-Order Execution for Testing Multi-Threaded Programs
title_sort symbolic partial-order execution for testing multi-threaded programs
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7363187/
http://dx.doi.org/10.1007/978-3-030-53288-8_18
work_keys_str_mv AT schemmeldaniel symbolicpartialorderexecutionfortestingmultithreadedprograms
AT buningjulian symbolicpartialorderexecutionfortestingmultithreadedprograms
AT rodriguezcesar symbolicpartialorderexecutionfortestingmultithreadedprograms
AT laprelldavid symbolicpartialorderexecutionfortestingmultithreadedprograms
AT wehrleklaus symbolicpartialorderexecutionfortestingmultithreadedprograms