Symbolic Partial-Order Execution for Testing Multi-Threaded Programs

被引:7
|
作者
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
基金
欧洲研究理事会;
关键词
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
相关论文
共 50 条
  • [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
    [J]. 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
    [J]. INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2019, 21 (05) : 545 - 565
  • [3] Partial Order Reduction for Event-Driven Multi-threaded Programs
    Maiya, Pallavi
    Gupta, Rahul
    Kanade, Aditya
    Majumdar, Rupak
    [J]. TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS (TACAS 2016), 2016, 9636 : 680 - 697
  • [4] Partial Redundancy Elimination for Multi-threaded Programs
    El-Zawawy, Mohamed A.
    Nayel, Hamada A.
    [J]. INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2011, 11 (10): : 127 - 133
  • [5] On testing multi-threaded Java']Java programs
    Gong, Xufang
    Wang, Yanchen
    Zhou, Ying
    Li, Bixin
    [J]. SNPD 2007: EIGHTH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING, AND PARALLEL/DISTRIBUTED COMPUTING, VOL 1, PROCEEDINGS, 2007, : 702 - +
  • [6] Execution replay and debugging of distributed multi-threaded parallel programs
    de Kergommeaux, JC
    Ronsse, M
    De Bosschere, K
    [J]. COMPUTERS AND ARTIFICIAL INTELLIGENCE, 2000, 19 (06): : 511 - 526
  • [7] Framework for testing multi-threaded Java']Java programs
    Edelstein, O
    Farchi, E
    Goldin, E
    Nir, Y
    Ratsaby, G
    Ur, S
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2003, 15 (3-5): : 485 - 499
  • [8] Input-driven Active Testing of Multi-threaded Programs
    Yue, Han
    Wu, Peng
    Chen, Tsong-Yueh
    Lv, Yi
    [J]. 2015 22ND ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2015), 2015, : 246 - 253
  • [9] Towards a framework and a benchmark for testing tools for multi-threaded programs
    Eytani, Yaniv
    Havelund, Klaus
    Stoller, Scott D.
    Ur, Shmuel
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2007, 19 (03): : 267 - 279
  • [10] Security Check for Multi-threaded Programs
    Tri Minh Ngo
    Tuan Van Nguyen
    [J]. 2016 IEEE SIXTH INTERNATIONAL CONFERENCE ON COMMUNICATIONS AND ELECTRONICS (ICCE), 2016, : 465 - 470