Feedback-Directed Unit Test Generation for C/C plus plus using Concolic Execution

被引:0
|
作者
Garg, Pranav [1 ]
Ivancic, Franjo [1 ]
Balakrishnan, Gogul [1 ]
Maeda, Naoto [1 ]
Gupta, Aarti [1 ]
机构
[1] NEC Labs Amer, Princeton, NJ 08540 USA
关键词
FRAMEWORK; SOLVER;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In industry, software testing and coverage-based metrics are the predominant techniques to check correctness of software. This paper addresses automatic unit test generation for programs written in C/C++. The main idea is to improve the coverage obtained by feedback-directed random test generation methods, by utilizing concolic execution on the generated test drivers. Furthermore, for programs with numeric computations, we employ non-linear solvers in a lazy manner to generate new test inputs. These techniques significantly improve the coverage provided by a feedback-directed random unit testing framework, while retaining the benefits of full automation. We have implemented these techniques in a prototype platform, and describe promising experimental results on a number of C/C++ open source benchmarks.
引用
收藏
页码:132 / 141
页数:10
相关论文
共 50 条
  • [1] Automatic Test Generation for C and C plus plus Programs, Using Symbolic Execution
    Yoshida, Hiroaki
    Li, Guodong
    Kamiya, Takuki
    Ghosh, Indradeep
    Rajan, Sreeranga
    Tokumoto, Susumu
    Munakata, Kazuki
    Uehara, Tadahiro
    [J]. IEEE SOFTWARE, 2017, 34 (05) : 30 - 37
  • [2] Feedback-directed random test generation
    Pacheco, Carlos
    Lahiri, Shuvendu K.
    Ernst, Michael D.
    Ball, Thomas
    [J]. ICSE 2007: 29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2007, : 75 - +
  • [3] Unit Test Data Generation for C Using Rule-Directed Symbolic Execution
    Zhang, Ming-Zhe
    Gong, Yun-Zhan
    Wang, Ya-Wen
    Jin, Da-Hai
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2019, 34 (03) : 670 - 689
  • [4] Unit Test Data Generation for C Using Rule-Directed Symbolic Execution
    Ming-Zhe Zhang
    Yun-Zhan Gong
    Ya-Wen Wang
    Da-Hai Jin
    [J]. Journal of Computer Science and Technology, 2019, 34 : 670 - 689
  • [5] GreyConE: Greybox Fuzzing plus Concolic Execution Guided Test Generation for High Level Designs
    Debnath, Mukta
    Chowdhury, Animesh Basak
    Saha, Debasri
    Sur-Kolay, Susmita
    [J]. 2022 IEEE INTERNATIONAL TEST CONFERENCE (ITC), 2022, : 494 - 498
  • [6] FSX: A Tool for Fine-Grained Incremental Unit Test Generation for C/C plus plus Programs
    Yoshida, Hiroaki
    Tokumoto, Susumu
    Prasad, Mukul R.
    Ghosh, Indradeep
    Uehara, Tadahiro
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 1052 - 1056
  • [7] Improvements of Directed Automated Random Testing in Test Data Generation for C plus plus Projects
    Duc-Anh Nguyen
    Tran Nguyen Huong
    Hieu Vo Dinh
    Pham Ngoc Hung
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2019, 29 (09) : 1279 - 1312
  • [8] C/C plus plus conditional compilation analysis using symbolic execution
    Hu, Y
    Merlo, E
    Dagenais, M
    Lagüe, B
    [J]. INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2000, : 196 - 206
  • [9] RTL Functional Test Generation Using Factored Concolic Execution
    Pinto, Sonal
    Hsiao, Michael S.
    [J]. 2017 IEEE INTERNATIONAL TEST CONFERENCE (ITC), 2017,
  • [10] Using C/C plus plus as a Common Software Interface for Test Systems
    Williams, Curtis F.
    [J]. 2008 IEEE AUTOTESTCON, VOLS 1 AND 2, 2008, : 501 - 502