DocumentCode :
1693360
Title :
Properties of Slicing Definitions
Author :
Ward, Martin
Author_Institution :
Software Technol. Res. Lab., De Montfort Univ., Leicester, UK
fYear :
2009
Firstpage :
23
Lastpage :
32
Abstract :
Weiser\´s original papers on slicing defined the concept in an informal way. Since then there have been several attempts to formalise slicing using various formal methods and semantics of programs. In this paper we start by defining some properties that a definition of slicing might reasonably be expected to satisfy and then compare different definitions of slicing to see which properties are satisfied. Properties are classified into "floor" requirements: all slices satisfying the property must be considered as valid, and "ceiling" requirements: slices which do not satisfy the property must not be considered valid. Any slicing relation which lies above a "floor" requirement, or below a "ceiling" requirement, satisfies the property in question. The main result of the paper is the proof that, given a certain property of the programming language (informally: it is possible to write an infinite loop in the language), two of the most basic and fundamental properties of slicing are sufficient to completely characterise the semantic part of the slicing relation. These properties are: behaviour preservation and truncation.
Keywords :
formal specification; program control structures; program slicing; program verification; programming language semantics; behaviour preservation property; ceiling requirements; floor requirements; formal method; infinite loop; program semantics; programming language; property classification; slicing relation definition; truncation property; Algorithm design and analysis; Computer languages; Floors; Inspection; Paper technology; Program Slicing; program analysis; properties of slicing; refinement; semi-refinement; slicing; transformation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Source Code Analysis and Manipulation, 2009. SCAM '09. Ninth IEEE International Working Conference on
Conference_Location :
Edmonton, AB
Print_ISBN :
978-0-7695-3793-1
Type :
conf
DOI :
10.1109/SCAM.2009.12
Filename :
5280005
Link To Document :
بازگشت