loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
11th Working Conference on Reverse Engineering (WCRE 2004)
Loop Squashing Transformations for Amorphous Slicing
Delft, The Netherlands
November 08-November 12
ISBN: 0-7695-2243-2
Lin Hu, Brunel University
Mark Harman, Brunel University
Robert M. Hierons, Brunel University
David Binkley, Loyola College

Program slicing is a source code extraction technique that can be used to support reverse engineering by automatically extracting executable subprograms that preserve some aspect of the original program?s semantics. Although minimal slices are not generally computable, safe approximate algorithms can be used to good effect. However, the precision of such slicing algorithms is a major factor in determining the value of slicing for reverse engineering.

Amorphous slicing has been proposed as a way of reducing the size of a slice. Amorphous slices preserve the aspect of semantic interest, but not the syntax that denotes it, making them generally smaller than their syntactically restricted counterparts. Amorphous slicing is suitable for many reverse engineering applications, since reverse engineering typically abandons the existing syntax to facilitate structural improvements.

Previous work on amorphous slicing has not attempted to exploit its potential to apply loop-squashing transformations. This paper presents an algorithm for amorphous slicing of loops, which identifies induction variables, transformation rule templates and iteration — determining compile — time expressions. The algorithm uses these to squash certain loops into conditional assignments. The paper also presents an inductive proof of the rule templates and illustrates the application of the algorithm with a detailed example of loop squashing.

Citation:
Lin Hu, Mark Harman, Robert M. Hierons, David Binkley, "Loop Squashing Transformations for Amorphous Slicing," wcre, pp.152-160, 11th Working Conference on Reverse Engineering (WCRE 2004), 2004
Usage of this product signifies your acceptance of the Terms of Use.