Symbolic Partial-Order Execution for Testing Multi-Threaded Programs

被引:9
|
作者
Schemmel, Daniel [1 ]
Buening, Julian [1 ]
Rodriguez, Cesar [2 ,3 ]
Laprell, David [1 ]
Wehrle, Klaus [1 ]
机构
[1] Rhein Westfal TH Aachen, Aachen, Germany
[2] Diffblue Ltd, Oxford, England
[3] Univ Paris 13, Sorbonne Paris Cite, CNRS, Paris, France
来源
COMPUTER AIDED VERIFICATION (CAV 2020), PT I | 2020年 / 12224卷
基金
欧洲研究理事会;
关键词
Software testing; Symbolic Execution; Partial-Order Reduction; REDUCTION;
D O I
10.1007/978-3-030-53288-8_18
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We describe a technique for systematic testing of multi-threaded programs. We combine Quasi-Optimal Partial-Order Reduction, a state-of-the-art technique that tackles path explosion due to interleaving non-determinism, with symbolic execution to handle data non-determinism. Our technique iteratively and exhaustively finds all executions of the program. It represents program executions using partial orders and finds the next execution using an underlying unfolding semantics. We avoid the exploration of redundant program traces using cutoff events. We implemented our technique as an extension of KLEE and evaluated it on a set of large multi-threaded C programs. Our experiments found several previously undiscovered bugs and undefined behaviors in memcached and GNU sort, showing that the new method is capable of finding bugs in industrial-size benchmarks.
引用
收藏
页码:376 / 400
页数:25
相关论文
共 17 条
  • [1] Combining sequentialization-based verification of multi-threaded C programs with symbolic Partial Order Reduction
    Vladimir Herdt
    Hoang M. Le
    Daniel Große
    Rolf Drechsler
    International Journal on Software Tools for Technology Transfer, 2019, 21 : 545 - 565
  • [2] Combining sequentialization-based verification of multi-threaded C programs with symbolic Partial Order Reduction
    Herdt, Vladimir
    Le, Hoang M.
    Grosse, Daniel
    Drechsler, Rolf
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2019, 21 (05) : 545 - 565
  • [3] Reduction for Compositional Verification of Multi-Threaded Programs
    Popeea, Corneliu
    Rybalchenko, Andrey
    Wilhelm, Andreas
    2014 FORMAL METHODS IN COMPUTER-AIDED DESIGN (FMCAD), 2014, : 187 - 194
  • [4] A Dynamic Logic for deductive verification of multi-threaded programs
    Beckert, Bernhard
    Klebanov, Vladimir
    FORMAL ASPECTS OF COMPUTING, 2013, 25 (03) : 405 - 437
  • [5] Modeling and Testing Multi-Threaded Asynchronous Systems with Creol
    Aichernig, Bernhard
    Griesmayer, Andreas
    Schlatte, Rudolf
    Stam, Andries
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 243 : 3 - 14
  • [6] Partial-order reduction in symbolic state-space exploration
    Alur, R
    Brayton, RK
    Henzinger, TA
    Qadeer, S
    Rajamani, SK
    FORMAL METHODS IN SYSTEM DESIGN, 2001, 18 (02) : 97 - 116
  • [7] Model-checking multi-threaded distributed Java programs
    Stoller S.D.
    International Journal on Software Tools for Technology Transfer, 2002, 4 (01) : 71 - 91
  • [8] Partial-Order Reduction in Symbolic State-Space Exploration
    R. Alur
    R.K. Brayton
    T.A. Henzinger
    S. Qadeer
    S.K. Rajamani
    Formal Methods in System Design, 2001, 18 : 97 - 116
  • [9] Relational symbolic execution of SQL code for unit testing of database programs
    Marcozzi, Michael
    Vanhoof, Wim
    Hainaut, Jean-Luc
    SCIENCE OF COMPUTER PROGRAMMING, 2015, 105 : 44 - 72
  • [10] SPOT: Testing Stream Processing Programs with Symbolic Execution and Stream Synthesizing
    Ye, Qian
    Lu, Minyan
    APPLIED SCIENCES-BASEL, 2021, 11 (17):