Title :
Symbolic execution of program paths involving pointer structure variables
Author_Institution :
Inst. of Software, Chinese Acad. of Sci., Beijing, China
Abstract :
Many white-box testing methods are based on the analysis of program paths. For these methods, an important problem is to determine the feasibility of a given path, and find appropriate input data to execute the path if it is feasible. The symbolic execution of program paths is studied. An approach is presented, which translates a path involving pointer and structure variables to a path involving simple variables and array variables only. The later is then analyzed with constraint solving techniques. An implementation of the translation tool is described with some examples. Preliminary experimental results show that the approach is quite efficient and applicable to paths in typical programs.
Keywords :
constraint handling; data flow analysis; program interpreters; program testing; software tools; array variables; constraint solving technique; path translation; pointer structure variables; program path analysis; symbolic program path execution; translation tool; white-box testing; Arithmetic; Computer science; Flow graphs; Graph theory; Input variables; Laboratories; Software quality; Software testing;
Conference_Titel :
Quality Software, 2004. QSIC 2004. Proceedings. Fourth International Conference on
Print_ISBN :
0-7695-2207-6
DOI :
10.1109/QSIC.2004.1357948