Symbolic Execution with Existential Second-Order Constraints

被引:22
|
作者
Mechtaev, Sergey [1 ]
Griggio, Alberto [2 ]
Cimatti, Alessandro [2 ]
Roychoudhury, Abhik [1 ]
机构
[1] Natl Univ Singapore, Singapore, Singapore
[2] Fdn Bruno Kessler, Trento, Italy
基金
新加坡国家研究基金会;
关键词
Program synthesis; Program repair; Library modelling;
D O I
10.1145/3236024.3236049
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Symbolic execution systematically explores program paths by solving path conditions - formulas over symbolic variables. Typically, the symbolic variables range over numbers, arrays and strings. We introduce symbolic execution with existential second-order constraints - an extension of traditional symbolic execution that allows symbolic variables to range over functions whose interpretations are restricted by a user-defined language. The aims of this new technique are twofold. First, it offers a general analysis framework that can be applied in multiple domains such as program repair and library modelling. Secondly, it addresses the path explosion problem of traditional first-order symbolic execution in certain applications. To realize this technique, we integrate symbolic execution with program synthesis. Specifically, we propose a method of second-order constraint solving that provides efficient proofs of unsatisfiability, which is critical for the performance of symbolic execution. Our evaluation shows that the proposed technique (1) helps to repair programs with loops by mitigating the path explosion, (2) can enable analysis of applications written against unavailable libraries by modelling these libraries from the usage context.
引用
收藏
页码:389 / 399
页数:11
相关论文
共 50 条
  • [21] Redundant Constraints Elimination for Symbolic Execution
    Zou, Quanchen
    Huang, Wei
    An, Jing
    Fan, Wenqing
    2016 IEEE INFORMATION TECHNOLOGY, NETWORKING, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (ITNEC), 2016, : 235 - 240
  • [22] Accelerating Array Constraints in Symbolic Execution
    Perry, David M.
    Mattavelli, Andrea
    Zhang, Xiangyu
    Cadar, Cristian
    PROCEEDINGS OF THE 26TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA'17), 2017, : 68 - 78
  • [23] Second-order integrators for Langevin equations with holonomic constraints
    Vanden-Eijnden, Eric
    Ciccotti, Giovanni
    CHEMICAL PHYSICS LETTERS, 2006, 429 (1-3) : 310 - 316
  • [24] Desires, Constraints and Designing Second-Order Cybernetic Conferences
    Hohl, Michael
    CONSTRUCTIVIST FOUNDATIONS, 2015, 11 (01): : 84 - 85
  • [25] Second-order multiobjective symmetric duality with cone constraints
    Gulati, T. R.
    Saini, Himani
    Gupta, S. K.
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2010, 205 (02) : 247 - 252
  • [26] MULTITIME OPTIMAL CONTROL WITH SECOND-ORDER PDES CONSTRAINTS
    Udriste, Constantin
    ATTI ACCADEMIA PELORITANA DEI PERICOLANTI-CLASSE DI SCIENZE FISICHE MATEMATICHE E NATURALI, 2013, 91 (01):
  • [27] Second-order constraints for equations of motion of constrained systems
    Chen, YH
    IEEE-ASME TRANSACTIONS ON MECHATRONICS, 1998, 3 (03) : 240 - 248
  • [28] CARATHEODORY PERTURBATION OF A SECOND-ORDER DIFFERENTIAL INCLUSION WITH CONSTRAINTS
    Amine, Saida
    Morchadi, Radouan
    Sajid, Said
    ELECTRONIC JOURNAL OF DIFFERENTIAL EQUATIONS, 2005,
  • [29] An irreducible approach to second-order reducible second-class constraints
    Bizdadea, C.
    Cioroianu, E. M.
    Saliu, S. O.
    Sararu, S. C.
    Balus, O.
    JOURNAL OF PHYSICS A-MATHEMATICAL AND THEORETICAL, 2007, 40 (48) : 14537 - 14554
  • [30] Optimality for Control Problem with PDEs of Second-Order as Constraints
    Treanta, Savin
    Khan, Muhammad Bilal
    Saeed, Tareq
    MATHEMATICS, 2022, 10 (06)