期刊文献+

含指针程序的单子切片方法 被引量:5

A Monadic Slicing Algorithm for a Program with Pointers
下载PDF
导出
摘要 传统的含指针程序切片方法将指向分析与切片计算分开,增加了一定系统开销,为此文中提出一种可同时进行切片计算和指向分析的单子切片算法.该算法将程序正向切片思想与数据流迭代分析相结合,它是流敏感的,具有一定的精度,而且因指向分析和切片计算同时进行,故不需要像一般的流敏感分析方法那样记录每一个程序点的指向信息,而只需记录当前所分析的程序点处指向信息,从而节省了存储空间.此外,它还继承了原有单子切片方法所具有的强语言适应性和组合性. Program slicing is a family of program decomposition techniques.By introducing point-to analysis to the previous monadic slicing,the authors present and implement an approach of monadic slicing for a program with pointers.This approach obtains the point-to information through the data-flow iteration.Being different from the traditional methods,the point-to information and slicing are computed in the same phase in the method,by combining the forward monad slicing with data-flow iteration.Instead of recording point-to information for every statement,it is only needed to record the information for current analysis statements.So the method saves space without losing the precision.In addition,the approach also reserve the excellent properties of compositionality and language-flexibility from the original monadic slicing method.
出处 《计算机学报》 EI CSCD 北大核心 2010年第3期473-482,共10页 Chinese Journal of Computers
基金 国家自然科学基金(60703086 90818027 60633010 60873049 60973046 60903026) 国家"八六三"高技术研究发展计划目标导向类项目(2009AA01Z147) 国家"九七三"重点基础研究发展规划项目基金(2009CB320703)资助
关键词 程序切片 单子切片 数据流迭代 指针 指向分析 program slicing monadic slicing data-flow iteration pointer point-to analysis
  • 相关文献

参考文献45

  • 1Weiser M. Program slicing. IEEE Transactions on Software Engineering, 1984, 16(5): 498-509.
  • 2Tip F. A survey of program slicing techniques. Journal of Programming Languages, 1995, 3(3): 121-189.
  • 3Binkley D, Gallagher K B. Program slicing. Advances in Computers, 1996, 43:1-50.
  • 4Xu Bao-Wen, Qian Ju, Zhang Xiao-Fang, Wu Zhong-Qiang, Chen Lin. A brief survey of program slicing. ACM SIGSOFT Software Engineering Notes, 2005, 30(2) : 1-36.
  • 5陈振强.基于依赖性分析的程序切片技术研究[博士学位论文].东南大学,南京,2002.
  • 6Zhang Ying-Zhou, Xu Bao-Wen, Shi Liang, Li Bi-Xin, Yang Hong-ji. Modular monadic program slicing//Proceedings of the 28th Annual International Computer Software and Applications Conference, COMPSAC 2004. Hong Kong, China, 2004: 66-71.
  • 7张迎周,徐宝文.一种基于模块单子语义的动态程序切片方法[J].计算机学报,2006,29(4):526-534. 被引量:12
  • 8Zhang Ying-Zhou, Xu Bao-Wen. A novel formal approach to program slicing. Science in China, Series F: Information Sciences, 2007, 50(5): 657-670.
  • 9张迎周.基于模块单子语义的程序切片技术研究[博士学位论文].东南大学,南京,2006.
  • 10Liang S, Hudak P, Jones M. Monad transformers and modular interpreters//Proceedings of the 22nd ACM SIGPLANSIGACT Symposium on Principles of Programming Languages(POPL'95), 1995 : 333-343.

二级参考文献42

共引文献23

同被引文献73

引证文献5

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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