期刊文献+

基于逆向程序流和函数依赖集的程序切片算法

Program Slicing Algorithm Based on Reverse Program Flow and Function Dependency Set
下载PDF
导出
摘要 程序切片技术大多是根据程序依赖图(PDG)和系统依赖图(SDG)的图可达性算法来优化得到感兴趣的程序集合,但是构造PDG和SDG需要很大的空间开销。本文提出一种基于逆向程序流和函数依赖集的切片算法,从兴趣点开始扫描逆向程序流来计算程序切片,只计算与切片相关的数据依赖,并且考虑函数调用时切片的计算,提高计算切片的效率。通过实例表明该算法减少了计算程序切片的复杂度,具有一定的可行性和实用性。 Program slicing technique is mostly based on the accessibility algorithm of program dependence graph (PDG) and sys- tem dependence graph (SDG) to get a set of interested programs which are optimized, but to construct PDG and SDG need a lot of time and space. So this paper presents a slicing algorithm based on reverse program flow and function dependency set, it scans the reverse program flow to calculate program slicing of the interested points which only related to data dependence of program sli- cing. The algorithm mainly considers the calculation of function call, improves the computational efficiency. It also founds that through instances the algorithm reduces the complexity of program slicing calculating, and it is feasible and practical.
作者 刘艳 李龙澍
出处 《计算机与现代化》 2013年第8期122-124,132,共4页 Computer and Modernization
基金 安徽高等学校省级自然科学基金资助项目(KJ2011Z020)
关键词 程序切片 动态程序切片算法 函数依赖集 逆向程序流 program slicing dynamic program slicing algorithm function dependency set reverse program flow
  • 相关文献

参考文献14

二级参考文献35

共引文献57

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部