首页 | 本学科首页   官方微博 | 高级检索  
     

一种分析和理解程序的方法--程序切片
引用本文:李必信,郑国梁,王云峰,李宣东.一种分析和理解程序的方法--程序切片[J].计算机研究与发展,2000,37(3):284-291.
作者姓名:李必信  郑国梁  王云峰  李宣东
作者单位:1. 南京大学计算机软件新技术国家重点实验室,南京,210093
2. 南京大学计算机科学与技术系,南京,210093
基金项目:本课题得到合肥经济技术学院科研基金(项目编号99-183)和江苏省自然科学基金项目(项目编号BK99038)资助.
摘    要:程序切片是一种分析和理解程序的技术,是通过对源程序中每个兴趣点分别计算切片来达到对程序的分析和理解。程序中某个兴趣点的程序切片不仅与该点定义和使用变量有关,而且与影响该变量的值的语名和谓词以及受该变量的值影响的语名的谓词有关。文中详细阐述了程序切片技术的研究与进展情况,并对目前存在各种程序切片方法和工具进行了比较;简单介绍了文中提出的面向对象的分层切片方法及其算法的思想;最后分析了程序切片技术目前

关 键 词:数据依赖  程序切片  分层切片  面向对象  源程序

AN APPROACH TO ANALYZING AND UNDERSTANDING PROGRAM--PROGRAM SLICING
LI Bi-Xin,ZHENG Guo-Liang,WANG Yun-Feng,LI Xuan-Dong.AN APPROACH TO ANALYZING AND UNDERSTANDING PROGRAM--PROGRAM SLICING[J].Journal of Computer Research and Development,2000,37(3):284-291.
Authors:LI Bi-Xin  ZHENG Guo-Liang  WANG Yun-Feng  LI Xuan-Dong
Abstract:Program slicing is a static analysis technique that extracts all statements relevant to the computation of a given variable. Program slicing is useful in program debugging, software maintenance, and program understanding. Program slices can be used to reduce the effort in examining software by allowing a software auditor to focus attention on one computation at a time. In this paper, the research and development of program slicing is discussed, all kinds of program slicing methods are compared, the progress made in object-oriented program slicing domain is also presented, and current problem and future directions are analyzed at the end of the paper.
Keywords:data dependence  control dependence  dependence graph  program slicing  hierarchy slicing
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号