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 条
  • [31] Search-Based Software Test Data Generation for Path Coverage Based on a Feedback-Directed Mechanism
    Semujju, Stuart Dereck
    Huang, Han
    Liu, Fangqing
    Xiang, Yi
    Hao, Zhifeng
    [J]. Complex System Modeling and Simulation, 2023, 3 (01): : 12 - 31
  • [32] A Code Generation Toolkit for C plus plus Web Services Development
    Ji, Xiangye
    Han, Jun
    Zhao, Yongwang
    [J]. 2013 THIRD INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEM DESIGN AND ENGINEERING APPLICATIONS (ISDEA), 2013, : 17 - 21
  • [33] Generation of C plus plus Code from Isabelle/HOL Specification
    Jiang, Dongchen
    Xu, Bo
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2022, 32 (07) : 1043 - 1069
  • [34] A Model-Driven fUML Execution Engine for C plus
    Bedini, Francesco
    Maschotta, Ralph
    Wichmann, Alexander
    Jaeger, Sven
    Zimmermann, Armin
    [J]. MODELSWARD: PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2017, : 443 - 450
  • [35] Automated Unit Testing and Test-Driven Development Approach to Teaching C plus
    Sheikh, Waseem
    [J]. 2022 INTERMOUNTAIN ENGINEERING, TECHNOLOGY AND COMPUTING (IETC), 2022,
  • [36] Clava: C/C plus plus source-to-source compilation using LARA
    Bispo, Joao
    Cardoso, Joao M. P.
    [J]. SOFTWAREX, 2020, 12
  • [37] Resurgence of Regression Test Selection for C plus
    Fu, Ben
    Misailovic, Sasa
    Gligoric, Milos
    [J]. 2019 IEEE 12TH CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2019), 2019, : 323 - 334
  • [38] Parallelism in C plus plus using Sequential Communicating Processes
    Paduraru, Ciprian
    Melemciuc, Marius-Constantin
    [J]. 2018 17TH INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING (ISPDC), 2018, : 157 - 163
  • [39] Using OGRE as a Means of Teaching C plus plus Programming
    Johnson, Bruce
    [J]. PROCEEDINGS OF THE 49TH ANNUAL ASSOCIATION FOR COMPUTING MACHINERY SOUTHEAST CONFERENCE (ACMSE '11), 2011, : T2 - T2
  • [40] A Resizable C plus plus Container using Virtual Memory
    Rojc, Blaz
    Depolli, Matjaz
    [J]. PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES (ICSOFT), 2021, : 481 - 488