Font Size: a A A

Avoiding State-Space Explosion in Multithreaded Programs with Input-Covering Schedules and Symbolic Execution

Posted on:2015-08-20Degree:Ph.DType:Dissertation
University:University of WashingtonCandidate:Bergan, ThomasFull Text:PDF
GTID:1478390020950768Subject:Computer Science
Abstract/Summary:
This dissertation makes two high-level contributions: First, we propose an algorithm to perform symbolic execution of multithreaded programs from arbitrary program contexts. We argue that this can enable more efficient symbolic exploration of deep code paths in multithreaded programs by allowing the symbolic engine to jump directly to program contexts of interest. We are the first to attack this problem. Second, we propose constraining multithreaded executions to small sets of input-covering schedules, which are defined as follows: given a program P, we say that a set of schedules Sigma covers all inputs of program P if, when given any input, P's execution can be constrained to some schedule in Sigma and still produce a semantically valid result. Our approach is to first compute a small S for a given program P, and then, at runtime, constrain P's execution to always follow some schedule in Sigma, and never deviate. This approach has the following advantage: because all possible runtime schedules are known a priori, we can seek to validate the program by thoroughly verifying each schedule in S, in isolation, without needing to reason about the huge space of thread interleavings that arises due to conventional nondeterministic execution. To tie both contributions together, we show how our symbolic execution techniques can be used to speed the search for input-covering schedules.
Keywords/Search Tags:Symbolic, Execution, Multithreaded programs, Input-covering schedules
Related items