Title :
Analysis of dynamic memory access using amorphous slicing
Author :
Harman, Mark ; Sivagurunathan, Yoga ; Danicic, Sebastian
Author_Institution :
Dept. of Math. & Comput. Sci., London Univ., UK
Abstract :
Problems associated with understanding, verifying and re-engineering the way in which a system allocates and releases dynamic memory present significant challenges to the software maintainer. Because the questions underlying these problems are undecidable, no system can provide a completely fail safe certification. For example, in checking for memory leaks, a system can only warn of potential problems, but cannot guarantee that no leaks remain. We present an approach to modelling the dynamic memory access properties of a program using amorphous program slicing to create a Dynamic Memory Model (DMM). The slices are constructed from a transformed version of the original program in which heap access has been made explicit using a pseudo variable to denote the top of the heap. The DMM is a simplified version of the original program which is concerned solely with the dynamic memory access behaviour of the original. We illustrate the use of DMMs in problems of comprehension, verification and re-engineering. We introduce a proof-of-concept DMM construction algorithm, showing how slicing simplification power can be dramatically improved using domain-specific transformation rules
Keywords :
certification; program slicing; software maintenance; amorphous slicing; dynamic memory access; heap access; proof-of-concept; software maintainer; Amorphous materials; Educational institutions; Informatics; Maintenance engineering; Predictive models; Random access memory; Read only memory; Vehicle crash testing; Vehicle dynamics; Vehicles;
Conference_Titel :
Software Maintenance, 1998. Proceedings., International Conference on
Conference_Location :
Bethesda, MD
Print_ISBN :
0-8186-8779-7
DOI :
10.1109/ICSM.1998.738525