Sciweavers

TACAS
2009
Springer

Path Feasibility Analysis for String-Manipulating Programs

14 years 6 months ago
Path Feasibility Analysis for String-Manipulating Programs
We discuss the problem of path feasibility for programs manipulating strings using a collection of standard string library functions. We prove results on the complexity of this problem, including its undecidability in the general case and decidability of some special cases. In the context of test-case generation, we are interested in an efficient finite model finding method for string constraints. To this end we develop a two-tier finite model finding procedure. First, an interaction of string constraints are passed to an SMT (Satisfiability Modulo ) solver. The abstraction is either unsatisfiable, or the solver produces a model that fixes lengths of enough strings to reduce the entire problem to be finite domain. The resulting fixed-length string constraints are then solved in a second phase. We implemented the procedure in a symbolic execution framework, report on the encouraging results and discuss directions for improving the method further.
Nikolaj Bjørner, Nikolai Tillmann, Andrei V
Added 20 May 2010
Updated 20 May 2010
Type Conference
Year 2009
Where TACAS
Authors Nikolaj Bjørner, Nikolai Tillmann, Andrei Voronkov
Comments (0)