DocumentCode
2703171
Title
A formal method for program slicing
Author
Zhang, Yingzhou ; Xu, Baowen ; Gayo, Jose Emilio Labra
Author_Institution
Dept. of Comput. Sci. & Eng., Southeast Univ., Nanjing, China
fYear
2005
fDate
29 March-1 April 2005
Firstpage
140
Lastpage
148
Abstract
Program slicing is a well-known program analysis technique that extracts the elements of a program related to a particular computation. Based on modular monadic semantics of a programming language, this paper presents a new formal method for slicing, called modular monadic slicing, by abstracting the computation of slicing as a slice monad transformer. With the use of slice transformer, the feature of program slicing can be combined in a modular way into semantic descriptions of the program analyzed. According to these, this paper gives both monadic dynamic and static slicing algorithms. They compute program slices directly on abstract syntax, without the needs to explicitly construct intermediate structures such as dependence graphs, or to record an execution history in dynamic slicing algorithm.
Keywords
program slicing; programming language semantics; software maintenance; dynamic slicing algorithm; formal method; modular monadic semantics; program analysis technique; program slicing; programming language; static slicing algorithm; Algorithm design and analysis; Application software; Computer languages; Computer science; Debugging; Heuristic algorithms; History; Software maintenance; Software quality; Software testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference, 2005. Proceedings. 2005 Australian
ISSN
1530-0803
Print_ISBN
0-7695-2257-2
Type
conf
DOI
10.1109/ASWEC.2005.7
Filename
1402009
Link To Document