Sibyl: Improving Software Engineering Tools with SMT Selection

被引:2
|
作者
Leeson, Will [1 ]
Dwyer, Matthew B. [1 ]
Filieri, Antonio [2 ]
机构
[1] Univ Virginia, Dept Comp Sci, Charlottesville, VA 22904 USA
[2] Imperial Coll London, Dept Comp, London, England
基金
美国国家科学基金会;
关键词
graph neural networks; satisfiable modulo theories; algorithm selection; NEURAL-NETWORK; MODEL CHECKING;
D O I
10.1109/ICSE48619.2023.00184
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
SMT solvers are often used in the back end of different software engineering tools-e.g., program verifiers, test generators, or program synthesizers. There are a plethora of algorithmic techniques for solving SMT queries. Among the available SMT solvers, each employs its own combination of algorithmic techniques that are optimized for different fragments of logics and problem types. The most efficient solver can change with small changes in the SMT query, which makes it nontrivial to decide which solver to use. Consequently, designers of software engineering tools often select a single solver, based on familiarity or convenience, and tailor their tool towards it. Choosing an SMT solver at design time misses the opportunity to optimize query solve times and, for tools where SMT solving is a bottleneck, the performance loss can be significant. In this work, we present Sibyl, an automated SMT selector based on graph neural networks (GNNs). Sibyl creates a graph representation of a given SMT query and uses GNNs to predict how each solver in a suite of SMT solvers would perform on said query. Sibyl learns to predict based on features of SMT queries that are specific to the population on which it is trained - avoiding the need for manual feature engineering. Once trained, Sibyl makes fast and accurate predictions which can substantially reduce the time needed to solve a set of SMT queries. We evaluate Sibyl in four scenarios in which SMT solvers are used: in competition, in a symbolic execution engine, in a bounded model checker, and in a program synthesis tool. We find that Sibyl improves upon the state of the art in nearly every case and provide evidence that it generalizes better than existing techniques. Further, we evaluate Sibyl's overhead and demonstrate that it has the potential to speedup a variety of different software engineering tools.
引用
收藏
页码:2185 / 2197
页数:13
相关论文
共 50 条
  • [41] Software Tools and Simulators in the Education of Engineering of Telecommunications
    Garcia, Miguel
    Coll, Hugo
    Bri, Diana
    Lloret, Jaime
    NEW ASPECTS OF ENGINEERING EDUCATION, 2008, : 337 - +
  • [42] SOFTWARE ENGINEERING: AN OVERVIEW OF TOOLS AND TECHNIQUES.
    Culler, Minga J.B.
    Fundamentals of Aerospace Instrumentation, Proceedings, 1986, : 9 - 24
  • [43] Groupware support tools for collaborative software engineering
    Gorton, I
    Hawryszkiewycz, I
    Ragoonaden, K
    Chung, C
    Lu, SJ
    Randhawa, G
    THIRTIETH HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, VOL 2: INFORMATION SYSTEMS - COLLABORATION SYSTEMS AND TECHNOLOGY, 1997, : 157 - 166
  • [44] Repository Analysis Tools in Teaching Software Engineering
    Ljubovic, Vedran
    Nosovic, Novica
    2012 IX INTERNATIONAL SYMPOSIUM ON TELECOMMUNICATIONS (BIHTEL), 2012,
  • [45] TGE approach for constructing software engineering tools
    Gray, J
    Ryan, B
    1998 AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 1998, : 144 - 150
  • [46] PROCESS ENGINEERING TOOLS IN A DISTRIBUTED SOFTWARE ENVIRONMENT
    BRECHER, VH
    SIUDUT, JK
    JOURNAL OF THE ELECTROCHEMICAL SOCIETY, 1983, 130 (03) : C90 - C90
  • [47] Sophisticated software tools for use in traffic engineering
    2003, Public Works Journal Corp. (134):
  • [48] Software tools for scalable multilevel application engineering
    Decker, KM
    Wylie, BJN
    INTERNATIONAL JOURNAL OF SUPERCOMPUTER APPLICATIONS AND HIGH PERFORMANCE COMPUTING, 1997, 11 (03): : 236 - 250
  • [49] CASE TOOLS IN SOFTWARE ENGINEERING-EDUCATION
    THOMPSON, JB
    GOH, A
    SOFTWARE ENGINEERING EDUCATION, 1993, 40 : 319 - 321
  • [50] Experiences with open source software engineering tools
    Toth, Kal
    IEEE SOFTWARE, 2006, 23 (06) : 44 - +