Abstraction-driven Concolic Testing

被引:22
|
作者
Daca, Przemyslaw [1 ]
Gupta, Ashutosh [2 ]
Henzinger, Thomas A. [1 ]
机构
[1] IST Austria, Klosterneuburg, Austria
[2] Tata Inst Fundamental Res, Homi Bhabha Rd, Bombay 400005, Maharashtra, India
关键词
GENERATION; CHECKING;
D O I
10.1007/978-3-662-49122-5_16
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Concolic testing is a promising method for generating test suites for large programs. However, it suffers from the path-explosion problem and often fails to find tests that cover difficult-to-reach parts of programs. In contrast, model checkers based on counterexample-guided abstraction refinement explore programs exhaustively, while failing to scale on large programs with precision. In this paper, we present a novel method that iteratively combines concolic testing and model checking to find a test suite for a given coverage criterion. If concolic testing fails to cover some test goals, then the model checker refines its program abstraction to prove more paths infeasible, which reduces the search space for concolic testing. We have implemented our method on top of the concolictesting tool Crest and the model checker CpaChecker. We evaluated our tool on a collection of programs and a category of SvComp benchmarks. In our experiments, we observed an improvement in branch coverage compared to Crest from 48% to 63% in the best case, and from 66% to 71% on average.
引用
收藏
页码:328 / 347
页数:20
相关论文
共 50 条
  • [1] Abstraction-driven verification of array programs
    Déharbe, D
    Imine, A
    Ranise, S
    [J]. ARTIFICIAL INTELLIGENCE AND SYMBOLIC COMPUTATION, PROCEEDINGS, 2004, 3249 : 271 - 275
  • [2] Using abstraction-driven slicing for postmortem analysis of software
    Jetley, Raoul
    Zhang, Yi
    Iyer, S. Purushothaman
    [J]. 14TH IEEE INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2006), PROCEEDINGS, 2006, : 107 - +
  • [3] Application Portability in Cloud Computing: An Abstraction-Driven Perspective
    Ranabahu, Ajith
    Maximilien, E. Michael
    Sheth, Amit
    Thirunarayan, Krishnaprasad
    [J]. IEEE TRANSACTIONS ON SERVICES COMPUTING, 2015, 8 (06) : 945 - 957
  • [4] Abstraction-driven SAT-based analysis of security protocols
    Armando, A
    Compagna, L
    [J]. THEORY AND APPLICATIONS OF SATISFIABILITY TESTING, 2004, 2919 : 257 - 271
  • [5] Concolic Fault Abstraction
    Oh, Chanseok
    Schaef, Martin
    Schwartz-Narbonne, Daniel
    Wies, Thomas
    [J]. 2014 14TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2014), 2014, : 135 - 144
  • [6] Exploring Interactive Color Paletes for Abstraction-Driven Exploratory Image Colorization
    Shi, Xinyu
    Liu, Mingyu
    Zhou, Ziqi
    Neshati, Ali
    Rossi, Ryan
    Zhao, Jian
    [J]. PROCEEDINGS OF THE 2024 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYTEMS, CHI 2024, 2024,
  • [7] Concolic Testing in CLP
    Mesnard, Fred
    Payet, Etienne
    Vidal, German
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2020, 20 (05) : 671 - 686
  • [8] Hybrid concolic testing
    Majumdar, Rupak
    Sen, Koushik
    [J]. ICSE 2007: 29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2007, : 416 - +
  • [9] Concolic testing for functional languages
    Giantsios, Aggelos
    Papaspyrou, Nikolaos
    Sagonas, Konstantinos
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2017, 147 : 109 - 134
  • [10] Concolic Testing and Constraint Satisfaction
    Sen, Koushik
    [J]. THEORY AND APPLICATIONS OF SATISFIABILITY TESTING - SAT 2011, 2011, 6695 : 3 - 4