Symbolic Execution of Program Paths Involving Pointer and Structure Variables

  • Authors:
  • Jian Zhang

  • Affiliations:
  • Chinese Academy of Sciences, China

  • Venue:
  • QSIC '04 Proceedings of the Quality Software, Fourth International Conference
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

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. In this paper, 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 implemention 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.