Abstract
The shape problem in the context of program testing refers to the problem of figuring out a shape of the input data structure required to cause the traversal of a given path. In this paper, we introduce a static approach to the shape problem. The approach converts the selected path into Static Single Assignment (SSA) form without pointer dereferences. This allows us to consider each program point in the selected path as a constraint involving equality or inequality. A simple, but illustrative example is given to explain our approach.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Cytron, R., Ferrante, J., Rosen, B.K., Wegman, M.N., Zadeck, F.K.: Efficiently Computing Static Single Assignment Form and the Control Dependence Graph. ACM Trans. on Programming Languages and Systems 13(4), 451–490 (1991)
Gallagher, M.J., Narasimhan, V.L.: ADTEST: A Test Data Generation Suite for Ada Software Systems. IEEE Trans. on Software Eng. 23(8), 473–484 (1997)
Gotlieb, A., Botella, B., Rueher, M.: Automatic Test Data Generation using Constraint Solving Techniques. In: Proc. ACM ISSTA, pp. 53–62 (1998)
Gupta, N., Mathur, A., Soffa, M.L.: Generating Test Data for Branch Coverage. In: Proceedings of 15th IEEE Int. Conf. on Automated Software Eng. (2000)
Korel, B.: Automated Software Test Data Generation. IEEE Trans. on Software Eng. 16(8), 870–879 (1990)
Meudec, C.: ATGen: Automatic Test Data Generation using Constraint Logic Programming and Symbolic Execution. In: Proc. IEEE/ACM Int. Workshop on Automated Program Analysis Testing and Verfication, pp. 22–31 (2000)
Visvanathan, S., Gupta, N.: Generating Test Data for Functions with Pointer Inputs. In: Proc. 17th IEEE International Conference on Automated Software Engineering, pp. 149–160 (2002)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Chung, I. (2004). A Static Approach to Automated Test Data Generation in the Presence of Pointers. In: Aykanat, C., Dayar, T., Körpeoğlu, İ. (eds) Computer and Information Sciences - ISCIS 2004. ISCIS 2004. Lecture Notes in Computer Science, vol 3280. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30182-0_89
Download citation
DOI: https://doi.org/10.1007/978-3-540-30182-0_89
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-23526-2
Online ISBN: 978-3-540-30182-0
eBook Packages: Springer Book Archive