An efficient SMT solver for string constraints

被引:0
|
作者
Tianyi Liang
Andrew Reynolds
Nestan Tsiskaridze
Cesare Tinelli
Clark Barrett
Morgan Deters
机构
[1] The University of Iowa,Department of Computer Science
[2] Two Sigma Investments,Department of Computer Science
[3] New York University,undefined
来源
关键词
String solving; Satisfiability modulo theories; Automated deduction; 68Q60; 03B10; 03B20; 03B22; 03B25; 03B70;
D O I
暂无
中图分类号
学科分类号
摘要
An increasing number of applications in verification and security rely on or could benefit from automatic solvers that can check the satisfiability of constraints over a diverse set of data types that includes character strings. Until recently, satisfiability solvers for strings were standalone tools that could reason only about fairly restricted fragments of the theory of strings and regular expressions (e.g., strings of bounded lengths). These solvers were based on reductions to satisfiability problems over other data types such as bit vectors or to automata decision problems. We present a set of algebraic techniques for solving constraints over a rich theory of unbounded strings natively, without reduction to other problems. These techniques can be used to integrate string reasoning into general, multi-theory SMT solvers based on the common DPLL(T) architecture. We have implemented them in our SMT solver cvc4, expanding its already large set of built-in theories to include a theory of strings with concatenation, length, and membership in regular languages. This implementation makes cvc4 the first solver able to accept a rich set of mixed constraints over strings, integers, reals, arrays and algebraic datatypes. Our initial experimental results show that, in addition, on pure string problems cvc4 is highly competitive with specialized string solvers accepting a comparable input language.
引用
收藏
页码:206 / 234
页数:28
相关论文
共 50 条
  • [21] Automating Induction with an SMT Solver
    Leino, K. Rustan M.
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, 2012, 7148 : 315 - 331
  • [22] Targeted Configuration of an SMT Solver
    Hula, Jan
    Jakubuv, Jan
    Janota, Mikolas
    Kubej, Lukas
    INTELLIGENT COMPUTER MATHEMATICS, CICM 2022, 2022, 13467 : 256 - 271
  • [23] Semantic Subtyping with an SMT Solver
    Bierman, Gavin M.
    Gordon, Andrew D.
    Hritcu, Catalin
    Langworthy, David
    ACM SIGPLAN NOTICES, 2010, 45 (09) : 105 - 116
  • [24] SMT Solver With Hardware Acceleration
    Chen, Yean-Ru
    Chen, Si-Han
    Lin, Shang-Wei
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2023, 42 (06) : 2055 - 2068
  • [25] Semantic Subtyping with an SMT Solver
    Bierman, Gavin M.
    Gordon, Andrew D.
    Hritcu, Catalin
    Langworthy, David
    ICFP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2010, : 105 - 116
  • [26] The MATHSAT 4 SMT solver
    Bruttomesso, Roberto
    Cimatti, Alessandro
    Franzen, Anders
    Griggio, Alberto
    Sebastiani, Roberto
    COMPUTER AIDED VERIFICATION, 2008, 5123 : 299 - +
  • [27] SMTSAMPLER: Efficient Stimulus Generation from Complex SMT Constraints
    Dutra, Rafael
    Bachrach, Jonathan
    Sen, Koushik
    2018 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD) DIGEST OF TECHNICAL PAPERS, 2018,
  • [28] Efficient string matching with wildcards and length constraints
    Gong Chen
    Xindong Wu
    Xingquan Zhu
    Abdullah N. Arslan
    Yu He
    Knowledge and Information Systems, 2006, 10 : 399 - 419
  • [29] Efficient solving of string constraints for security analysis
    Barrett, Clark
    Tinelli, Cesare
    Deters, Morgan
    Liang, Tianyi
    Reynolds, Andrew
    Tsiskaridze, Nestan
    SYMPOSIUM AND BOOTCAMP ON THE SCIENCE OF SECURITY, 2016, : 4 - 6
  • [30] Efficient string matching with wildcards and length constraints
    Chen, Gong
    Wu, Xindong
    Zhu, Xingquan
    Arslan, Abdullah N.
    He, Yu
    KNOWLEDGE AND INFORMATION SYSTEMS, 2006, 10 (04) : 399 - 419