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
Understanding Function Behaviors through Program Slicing / A., DE LUCIA; Fasolino, ANNA RITA; M., Munro. - STAMPA. - 1:(1996), pp. 9-18. (Intervento presentato al convegno Fourth IEEE Workshop on Program Comprehension, tenutosi a Berlin nel 29-31 Mar 1996) [10.1109/WPC.1996.501116].
Understanding Function Behaviors through Program Slicing
FASOLINO, ANNA RITA;
1996
Abstract
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 graphsI documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.