String constraint solving is central to the verification and analysis of software that manipulates strings, such as web applications and access control policies. Since string constraints revolve around regular constraints, finite automata provide a natural symbolic representation, enabling theoretically robust and elegant solutions.
Naive automata-based solvers, however, are slow: they quickly run into state explosion and prohibitive low-level costs. In this talk, I will present our line of work on automata-based string solving, with an emphasis on practical efficiency. This includes low-level data structures for automata libraries, advanced algorithms for nondeterministic automata, string-solving procedures that avoid combinatorial blow-up, heuristics for common shapes of string constraints, and ways of harnessing the power of SMT solvers.
The methods discussed in the talk form the basis of Z3-Noodler, winner of the QF_Strings division of the last three SMT-COMP competitions.