Understanding function behaviors through program slicing
Andrea De Lucia, Anna Rita Fasolino, Malcolm Munro · 2002
We present conditioned slicing as a general slicing framework for program comprehension. A conditioned slice consists of a subset of program statements which preserves the behavior of the original program with respect to a set of program executions. The set of initial states of the program that characterize these executions is specified in terms of a first order logic formula on the input variables of the program. Conditioned slicing allows a better decomposition of the program giving the maintainer the possibility to analyze code fragments with respect to different perspectives. We also show how slices produced with traditional slicing methods can be reduced to conditioned slices. Conditioned slices can be identified by using symbolic execution techniques and dependence graphs.
Cited by 141 works. doi:10.1109/wpc.1996.501116
Authors
References
- Program Slicing
- The program dependence graph and its use in optimization
- Symbolic execution and program testing
- Interprocedural slicing using dependence graphs
- A computational logic
- Programmers use slices when debugging
- The program dependence graph in a software development environment
- Dynamic program slicing
- A Survey of Program Slicing Techniques.
- Program comprehension during software maintenance and evolution