Abstract
dc:description.abstractThis thesis considers the problem of how the testing of multithreaded programs can be automated.One of the reasons multithreaded programs are difficult to test is that their behavior does not only depend on input values but also on how the executions of threads are interleaved. Typically this results in a number of possible executions through a multithreaded program that is so large that covering them all, even with the help of a computer, is infeasible. Fortunately it is often not necessary to test all combinations of input values and interleavings as many of them cause the program to behave in a similar way. This opens up the research question of how to automatically cover interesting properties of the program under test while trying to keep the number of test executions small. This work studies how two different approaches, dynamic symbolic execution and net unfoldings, can be combined to automatically test multithreaded programs. Dynamic symbolic execution is a popular approach to automatically generate tests for sequential programs. Net unfoldings, on the other hand, can be used in verification of concurrent systems. The main contributions of this thesis fall under three categories. First, two net unfolding based approaches to systematically cover the local reachable states of threads are presented. Second, the thesis describes how global reachability properties, such as deadlock freedom, can be checked from an unfolding of a program. Third, a lightweight approach to capture abstract states of a multithreaded programs is presented. The method can be used to stop a test execution if it reaches an already covered abstract state. To evaluate the new approaches, they are compared against an existing partial order reduction based testing algorithm. This is done by applying the algorithms to a number of multithreaded programs. Based on the results, the new algorithms are competitive against more traditional partial order reduction based methods and can in some cases outperform existing approaches by a considerable margin.
Degree
thesis:*- Department dc:contributor.department
- Tietotekniikan laitos
- College dc:contributor.school
- Perustieteiden korkeakoulu
- Grantor dc:publisher
- Aalto University
- Year dc:date.issued
- 2015
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Kähkönen, Kari
- Advisor dc:contributor.advisor
-
- Heljanko, Keijo, Assoc. Prof., Aalto University, Department of Computer Science, Finland
- Contributors dc:contributor
-
- Aalto-yliopisto
- Aalto University
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- URN
- URN:ISBN:978-952-60-6039-2
- ISBN
-
978-952-60-6039-2 (electronic)
978-952-60-6038-5 (printed) - ISSN
-
1799-4942 (electronic)
1799-4934 (printed)
1799-4934 (ISSN-L)