Analysis of dynamic memory access using amorphous slicing

被引:10
作者
Harman, M [1 ]
Sivagurunathan, Y [1 ]
Danicic, S [1 ]
机构
[1] Univ London Goldsmiths Coll, Dept Math & Comp Sci, London SE14 6NW, England
来源
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS | 1998年
关键词
D O I
10.1109/ICSM.1998.738525
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Problems associated with understanding, verifying and reengineering 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 pow er can be dramatically improved using domain-specific transformation rules.
引用
收藏
页码:336 / 345
页数:10
相关论文
共 25 条
[1]  
Aho Alfred V., 2007, COMPILERS PRINCIPLES
[2]  
[Anonymous], PARTIAL EVALUATION M
[3]  
BENNETT K, 1995, J SOFTWARE ENG KNOWL, V5, P25
[4]   MEASURING FUNCTIONAL COHESION [J].
BIEMAN, JM ;
OTT, LM .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (08) :644-657
[5]  
BINKLEY D, 1998, COMMUNICATION
[6]  
Binkley D. W., 1996, ADV COMPUTING, V43
[7]  
CANFORA G, 1994, INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, P424, DOI 10.1109/ICSM.1994.336752
[8]  
Chu W. C., 1997, 5 IEEE INT WORKSH PR
[9]  
Cimitile A, 1996, J SOFTW MAINT-RES PR, V8, P145, DOI 10.1002/(SICI)1096-908X(199605)8:3<145::AID-SMR127>3.0.CO
[10]  
2-9