arrow
返回

An automated test data generation method for void pointers and function pointers in C/C plus plus libraries and embedded projects

delete2022-05-01
delete1
PRE
AI
L
Lam Nguyen Tung
H
Hoang-Viet Tran
K
Khoi Le
P
Phạm Ngọc Hùng *
DOI:10.1016/j.infsof.2022.106821delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Automated test data generation for unit testing C/C++ functions using concolic methods is well-known for improving software quality while reducing human testing effort. However, there have been only a few researches related to generating test data for void pointers and function pointers which are commonly used in C/C++ libraries and embedded projects. This paper proposes a concolic-based method named VFP (Void and Function Pointers test data generation) to generate test data for void pointers and function pointers. The key idea of VFP method is to preprocess the source code of the project under test to find all possible types of void pointers and references of function pointers. These types and references are used in the initial test data generating phase of the concolic testing method. VFP method is implemented in VFP verification tool to test on various C/C++ libraries and embedded projects. The experimental results show that VFP significantly improves the coverage of the generated test data in comparison with existing methods.
Keyword:
Automated test data generation
Concolic testing
Symbolic execution
Void pointer
Function pointer
VFP verification

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

V
vietnam national university hanoi (vnu hanoi) system
学者数:
4.0K
论文数: 2.5K
被引数: 2
引用论文

引用论文

Development and Validation of a Photonumeric Scale for Evaluation of Infraorbital Hollows
err2016-10-01
err0
errOAAI
errLisa Donofrio; Jean Carruthers; Bhushan Hardas; Diane K. Murphy; Derek Jones; Jonathan M. Sykes; Alastair Carruthers; Lela Creutz; Ann Marx; Sara Dill
err分享
err收藏
err分享
err收藏
Hepatitis E in southern Vietnam: Seroepidemiology in humans and molecular epidemiology in pigs
err2017-06-09
err0
errOAAI
errA. Berto; H. A. Pham; T. T. N. Thao; N. H. T. Vy; S. L. Caddy; R. Hiraide; N. T. Tue; I. Goodfellow; J. J. Carrique‐Mas; G. E. Thwaites; S. Baker; M. F. Boni
err分享
err收藏
Design and fabrication of a 900–1700nm hyper-spectral imaging spectrometer
err2010-02-01
err0
PREAI
errTae Hyoung Kim; Hong Jin Kong; Tae Hoon Kim; Jae Sung Shin
err分享
err收藏
An orchestrated survey of methodologies for automated software test case generation对自动软件测试用例生成方法的精心策划的调查
err2013-08-01
err452
PREAI
errAnand, Saswat; Burke, Edmund K.; Chen, Tsong Yueh; Clark, John; Cohen, Myra B.; Grieskamp, Wolfgang; Harman, Mark; Harrold, Mary Jean; McMinn, Phil; Bertolino, Antonia; Li, J. Jenny; Zhu, Hong
err分享
err收藏
学者 查看更多内容