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 条
  • [21] C plus plus EDSL for parallel code generation
    Berenyi, Daniel
    [J]. PROCEEDINGS 2015 8TH ROMANIA TIER 2 FEDERATION GRID, CLOUD & HIGH PERFORMANCE COMPUTING IN SCIENCE (RO-LCG), 2015,
  • [22] Impact of GCC optimization levels in energy consumption during C/C plus plus program execution
    Branco, David
    Henriques, Pedro Rangel
    [J]. 2015 IEEE 13TH INTERNATIONAL SCIENTIFIC CONFERENCE ON INFORMATICS, 2015, : 46 - 50
  • [23] Using Stereotypes in the Automatic Generation of Natural Language Summaries for C plus plus Methods
    Abid, Nahla J.
    Dragan, Natalia
    Collard, Michael L.
    Maletic, Jonathan I.
    [J]. 2015 31ST INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) PROCEEDINGS, 2015, : 561 - 565
  • [24] Automatic object model generation for nanoelectronics using C plus plus meta programming
    Peng, Fei
    Xiao, Zhenjie
    Xu, Dong
    Huang, Jianhong
    Xie, Guangjun
    [J]. ELECTRONICS LETTERS, 2019, 55 (24) : 1286 - +
  • [25] An automated test data generation method for void pointers and function pointers in C/C plus plus libraries and embedded projects
    Lam Nguyen Tung
    Hoang-Viet Tran
    Khoi Nguyen Le
    Pham Ngoc Hung
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 145
  • [26] C plus plus Web Framework: A Web Framework for Web Development using C plus plus and Qt
    Lima, Herik
    Eler, Marcelo Medeiros
    [J]. ICEIS: PROCEEDINGS OF THE 23RD INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS - VOL 2, 2021, : 76 - 87
  • [27] Teaching C plus plus programming using automated unit testing and test-driven development-Design and efficacy study
    Sheikh, Waseem
    [J]. COMPUTER APPLICATIONS IN ENGINEERING EDUCATION, 2022, 30 (03) : 821 - 851
  • [28] Metaprogramming- Enabled Parallel Execution of Apparently Sequential C plus plus Code
    Hollman, David S.
    Bennett, Janine C.
    Kolla, Hemanth
    Lifflander, Jonathan
    Slattengren, Nicole
    Wilke, Jeremiah
    [J]. PROCEEDINGS OF SECOND INTERNATIONAL WORKSHOP ON EXTREME SCALE PROGRAMMING MODELS AND MIDDLEWARE (ESPM2 2016), 2016, : 24 - 31
  • [29] Generate Test Data from C/C plus plus Source Code using Weighted CFG and Boundary Values
    Tran Nguyen Huong
    Do Minh Kha
    Hoang-Viet Tran
    Pham Ngoc Hung
    [J]. 2020 12TH INTERNATIONAL CONFERENCE ON KNOWLEDGE AND SYSTEMS ENGINEERING (IEEE KSE 2020), 2020, : 97 - 102
  • [30] Interactive C plus plus code development using C plus plus Explorer and GitHub classroom for educational purposes
    Diehl, Patrick
    Brandt, Steven R.
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2023, 35 (18):