Input-driven Active Testing of Multi-threaded Programs

被引:5
|
作者
Yue, Han [1 ]
Wu, Peng [1 ]
Chen, Tsong-Yueh [2 ]
Lv, Yi [1 ]
机构
[1] Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing 100190, Peoples R China
[2] Swinburne Univ Technol, Dept Comp Sci & Software Engn, Hawthorn, Vic 3122, Australia
基金
中国国家自然科学基金;
关键词
D O I
10.1109/APSEC.2015.34
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
It is still a challenge to select "good" test inputs for concurrent programs within limited testing resources. We present in this paper a test case diversity metric for multi-threaded programs, which evaluates a test input with its effect in exposing concurrent thread interactions. We then propose an input-driven active testing approach with two test input selection strategies based on our test case diversity metric. We implement our testing approach based on Maple, an interleaving coverage-driven active testing tool. The effectiveness and efficiency of our testing approach are compared closely with Maple, which on its own is supplied with random test inputs. Experimental results show that our testing approach can outperform the original active testing approach in the number of test inputs executed and the time usage for fulfilling the interleaving coverage criterion of Maple. The selected test inputs based on our test case diversity metric are very cost-effective in exposing concurrent thread interactions and hence can help detect concurrency bugs with less cost and effort.
引用
收藏
页码:246 / 253
页数:8
相关论文
共 50 条
  • [31] Lost in abstraction: Monotonicity in multi-threaded programs
    Kaiser, Alexander
    Kroening, Daniel
    Wahl, Thomas
    [J]. INFORMATION AND COMPUTATION, 2017, 252 : 30 - 47
  • [32] Sound Predictive Fuzzing for Multi-threaded Programs
    Guo, Yuqi
    Liang, Zheheng
    Zhu, Shihao
    Wang, Jinqiu
    Yang, Zijiang
    Shen, Wuqiang
    Zhang, Jinbo
    Cai, Yan
    [J]. 2023 IEEE 47TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC, 2023, : 810 - 819
  • [33] A race-detection and flipping algorithm for automated testing of multi-threaded programs
    Sen, Koushik
    Agha, Gul
    [J]. HARDWARE AND SOFTWARE, VERIFICATION AND TESTING, 2007, 4383 : 166 - +
  • [34] A Framework for Systematic Testing of Multi-threaded Applications
    Florian, Mihai
    [J]. 2011 IEEE 17TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING (PRDC), 2011, : 278 - 279
  • [35] A Dynamic Logic for deductive verification of multi-threaded programs
    Beckert, Bernhard
    Klebanov, Vladimir
    [J]. FORMAL ASPECTS OF COMPUTING, 2013, 25 (03) : 405 - 437
  • [36] MuTT: a Multi-Threaded Tracer for Java']Java Programs
    Liu, Dapeng
    Xu, Shaochun
    [J]. PROCEEDINGS OF THE 8TH IEEE/ACIS INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE, 2009, : 949 - +
  • [37] Complexity and information flow analysis for multi-threaded programs
    Tri Minh Ngo
    Huisman, Marieke
    [J]. EUROPEAN PHYSICAL JOURNAL-SPECIAL TOPICS, 2017, 226 (10): : 2375 - 2392
  • [38] The Optimum Leakage Principle for Analyzing Multi-threaded Programs
    Chen, Han
    Malacaria, Pasquale
    [J]. INFORMATION THEORETIC SECURITY, 2010, 5973 : 177 - 193
  • [39] Proposal of a Testing Method Using Similarity of Interleaving for Java']Java Multi-threaded Programs
    Katayama, Tetsuro
    Kitano, Shoichiro
    Kita, Yoshihiro
    Yamaba, Hisaaki
    Aburada, Kentaro
    Okazaki, Naonobu
    [J]. JOURNAL OF ROBOTICS NETWORKING AND ARTIFICIAL LIFE, 2015, 1 (04): : 299 - 302
  • [40] Study of common pitfalls in simple multi-threaded programs
    Choi, Sung-Eun
    Lewis, E. Christopher
    [J]. SIGCSE Bulletin (Association for Computing Machinery, Special Interest Group on Computer Science Education), 2000, : 325 - 329