The semantics of program slicing and program integration

Thomas Reps, Wuu Yang

研究成果: Conference contribution同行評審

33 引文 斯高帕斯(Scopus)

摘要

A slice of a program with respect to a program point p and variable x consists of all statements of the program that might affect the value of x at point p. Slices can be extracted particularly easily from a program representation called a program dependence graph, originally introduced as an intermediate program representation for performing optimizing, vectorizing, and parallelizing transformations. Such slices are of a slightly restricted form: rather than permitting a program to be sliced with respect to program point p and an arbitrary variable, a slice must be taken with respect to a variable that is defined at or used at p. This paper concerns the relationship between the execution behavior of a program and the execution behavior of its slices. Our main results about slicing are those stated as the Slicing Theorem and the Termination Theorem. The Slicing Theorem demonstrates that a slice captures a portion of a program's behavior in the sense that, for any initial state on which the program halts, the program and the slice compute the same sequence of values for each element of the slice. The Termination Theorem demonstrates that if a program is decomposed into (two or more) slices, the program halts on any state for which all the slices halt. These results are then used to provide semantic justification for a program-integration algorithm of Horwitz, Prins, and Reps.

原文English
主出版物標題TAPSOFT 1989
主出版物子標題Proceedings of the International Joint Conference on Theory and Practice of Software Development - Advanced Seminar on Foundations of Innovative Software Development II and Colloquium on Current Issues in Programming Languages, CCIPL
編輯Josep Diaz, Fernando Orejas
發行者Springer Verlag
頁面360-374
頁數15
ISBN(列印)9783540509400
DOIs
出版狀態Published - 1 1月 1989
事件3rd International Joint Conference on Theory and Practice of Software Development, TAPSOFT 1989 - Barcelona, 西班牙
持續時間: 13 3月 198917 3月 1989

出版系列

名字Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
352 LNCS
ISSN(列印)0302-9743
ISSN(電子)1611-3349

Conference

Conference3rd International Joint Conference on Theory and Practice of Software Development, TAPSOFT 1989
國家/地區西班牙
城市Barcelona
期間13/03/8917/03/89

指紋

深入研究「The semantics of program slicing and program integration」主題。共同形成了獨特的指紋。

引用此