Goal-Oriented Test Data Generation for Programs with Pointer Variables
Arnaud Gotlieb B, Tristan Denmat, Bernard Botella · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · 2006
Automatic test data generation leads to the identification of input values on which a selected path or a selected branch is executed within a program (path-oriented vs. goal-oriented methods). In both cases, several approaches based on constraint solving exist, but in the presence of pointer variables only path-oriented methods have been proposed. This paper proposes to extend an existing goal-oriented test data generation technique to deal with multi-level pointer variables. The approach exploits the results of an intraprocedural flow-sensitive points-to analysis to automatically generate goal-oriented test data at the unit testing level. Implementation is in progress and a few examples are presented.
Cited by 10 works. doi:10.1109/compsac.2005.81
Authors
References
- The program dependence graph and its use in optimization
- Efficiently computing static single assignment form and the control dependence graph
- Automated software test data generation
- Context-sensitive interprocedural points-to analysis in the presence of function pointers
- Programming with Constraints
- Interprocedural may-alias analysis for pointers
- The chaining approach for software test data generation
- Fast and accurate flow-insensitive points-to analysis
- Automatic test data generation using constraint solving techniques
- An open-ended finite domain constraint solver