DocumentCode
1727716
Title
All-Paths Test Generation for Programs with Internal Aliases
Author
Kosmatov, Nikolai
Author_Institution
CEA LIST, Software Reliability Lab., Gif-sur-Yvette
fYear
2008
Firstpage
147
Lastpage
156
Abstract
In structural testing of programs, the all-paths coverage criterion requires to generate a set of test cases such that every possible execution path of the program under test is executed by one test case. This task becomes very complex in presence of aliases, i.e. different ways to address the same memory location. In practice, the presence of aliases may result in enumeration of possible inputs, generation of several test cases for the same path and/or a failure to generate a test case for some feasible path. This article presents the problem of aliases in the context of classical depth-first test generation method. We classify aliases into two groups: external aliases, existing already at the entry point of the function under test (due to pointer inputs), and internal ones, created during its symbolic execution. This paper focuses on internal aliases.We propose an original extension of the depth-first test generation method for C programs with internal aliases. It limits the enumeration of inputs and the generation of superfluous test cases. Initial experiments show that our method canconsiderably improve the performances of the existing tools on programs with aliases.
Keywords
C language; program testing; C program; all-paths test generation; depth-first test generation method; internal aliases; program testing; Automatic testing; Costs; Laboratories; Performance evaluation; Programming; Reliability engineering; Software performance; Software reliability; Software testing; Software tools; aliases; all-paths tests; automatic test generation; verification;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability Engineering, 2008. ISSRE 2008. 19th International Symposium on
Conference_Location
Seattle, WA
ISSN
1071-9458
Print_ISBN
978-0-7695-3405-3
Electronic_ISBN
1071-9458
Type
conf
DOI
10.1109/ISSRE.2008.25
Filename
4700319
Link To Document