arrow
Return

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
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Automated test data generation
Concolic testing
Symbolic execution
Void pointer
Function pointer
VFP verification

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
7.7K

Organization

V
vietnam national university hanoi (vnu hanoi) system
Scholars:
4.0K
Papers: 2.5K
Citations: 2
Cited Papers

Cited Papers

errShare
errSave
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
errShare
errSave
errShare
errSave
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
errShare
errSave
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
errShare
errSave
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
errShare
errSave
researcher View more