期刊文献+

一种Java程序Chopping方法 被引量:2

Program Chopping Approach for Java Program
下载PDF
导出
摘要 程序Chopping对于程序理解、分析、调试、测试等具有重要的意义。已有的Chopping方法主要基于相互连接的系统依赖图(SDG),对于大程序这种SDG描述通常非常复杂,易导致程序Chopping结果不准确。针对这一问题,基于带标签的Java程序描述方法,提出一种Java程序Chopping方法。该方法利用这种描述附带的程序依赖信息,分析参数依赖关系,并在此基础上给出Chopping算法。此程序Chopping方法能把Java程序方法间的程序Chop-ping问题转换到Java程序方法内进行分析,程序依赖图具有结点少、可重用、可并发构造等优点。最后通过实例和实验给出程序Chopping方法的实施过程及有效性。 Compared with program slicing,program chopping is a more focused approach of program analysis.And it is of great significance for the program understanding,analysis,debugging,testing.The existing chopping algorithms mostly are based on connected System Dependence Graph(SDG).However,the representation of SDG is very complicated,especially for larger program,which causes fault result easily.So this paper proposed a program chopping approach for Java program based on a representation for Java program with tags.In this approach,not only the accessory information on program dependency relation is utilized to analyze parameter dependency relation,and based on which this paper presented program chopping algorithms,but also inter-method program chopping can be converted to intra-method analyzing.Moreover the approach has much strongpoint such as fewer nodes of SDG and reusability of Program Dependence Graph(PDG),etc.Finally,this paper illustrated implementation process of this approach combined with an example and experiment.
出处 《计算机科学》 CSCD 北大核心 2011年第1期150-155,161,共7页 Computer Science
基金 国家自然科学基金项目(60773006) 高等学校博士学科点专项科研基金项目(20060486045)资助
关键词 程序Chopping Chopping算法 JAVA程序 Chopping方法 Program chopping Chopping algorithm Java program Chopping approach
  • 相关文献

参考文献17

  • 1Horwitz S, Reps T, Binkley D. Interprocedural Slicing Using Dependence Graphs[J].ACM Transactions on Programming Languages and System, 1990,12 (1) : 26-60.
  • 2Larsen L, Harrold M. Slicing Object-oriented Software[C]// Proceedings of the International Conference on Software Engineering(ICSE-18). Berlin, 1996:495 505.
  • 3Zhao J. Applying Program Dependence Analysis to Java Software[C]// Proceedings of Workshop on Software Engineering and Database Systems. Taiwan, 1998: 162-169.
  • 4Liang D, Harrold M J. Slicing Objects Using System Dependence Graphs[C] // Proceedings of the 1998 International Conference on Software Maintenance. Bethesda, 1998 : 358-367.
  • 5Walkinshaw N, Roper M, Wood M. The Java System Dependence Graph[C]//Proceedings of the Third IEEE International Workshop on Source Code Analysis and Manipulation (SCAM'03). 2003:55-64.
  • 6Chen Zhen qiang,Xu Bao-wen. Slicing Object oriented Java Programs[J].ACM SIGPLAN Notices, 2001,36 (4):33-40.
  • 7Jackson D, Rollins E J. A New Model of Program Dependences for Reverse Engineering[J].ACM SIGSOFT Software Engineering Notes, 1994,19(5) :2- 10.
  • 8Reps T, Rosay G. Precise Interprocedural Chopping[C]//Proceedings of the Third ACM Symposium on the Foundations of Software Engineering. Washington, 1995:41-52.
  • 9Krinke J. Evaluating Context-sensitive Slicing and Chopping[C]// International Conference on Software Maintenance. Montreal, 2002:22-31.
  • 10Krinke J. Barrier Slicing and Chopping[C].//Proceedings of the Third IEEE International Workshop on Source Code Analysis and Manipulation(SCAM'03). Amsterdam, Netherlands, 2003: 81-87.

二级参考文献42

  • 1徐宝文.一种逆向程序流依赖性分析方法及其应用[J].计算机学报,1993,16(5):385-392. 被引量:9
  • 2张迎周,徐宝文.一种基于模块单子语义的动态程序切片方法[J].计算机学报,2006,29(4):526-534. 被引量:12
  • 3徐宝文 陈振强 等.基于信赖性分析的面向对象Ada95程序切片[J].软件学报,2001,12:208-213.
  • 4Tip F. A survey of program slicing techniques. J Progr Lang, 1995, 3(3): 121--189
  • 5Binkley D, Gallagher K B. Program slicing. Adv Comput, 1996, 43:1-50
  • 6Harman M, Hierons R M. An overview of program slicing. Softw Focus, 2001, 2(3): 85--92
  • 7陈振强.基于依赖性分析的程序切片技术研究.博士学位论文.南京:东南大学,2002:1-5
  • 8Weiser M. Program slicing. IEEE Trans Sofrw Eng, 1984, 16(5): 498-509
  • 9Ottenstein K J, Ottenstein L M. The program dependence graph in a software development environment. ACM SIGPLAN Not, 1984, 19(5): 177--184
  • 10Hwang J C, Du M W, Chou C R. The influence of language semantics on program slices. In: International Conference on Computer Languages. Florida: IEEE CS Press, 1988. 120--127

共引文献18

同被引文献14

  • 1姚昱旻,刘卫国.Android的架构与应用开发研究[J].计算机系统应用,2008,17(11):110-112. 被引量:281
  • 2杨丽洁.面向LinuxNC的Java虚拟机的性能优化[J].计算机应用,2006,26(5):1152-1154. 被引量:1
  • 3Google. Android project official website[ EB/OL]. [ 2011 - 11-12]. http://www, android, com.
  • 4CRAMER T. Compiling Java just in time[ J]. IEEE Micro, 1997, 17(3):36 -43.
  • 5CHAN B, ABDELRAHMAN T S. Run-time support for the automat- ic parallelization of Java programs[ J]. Journal of Supercomputing, 2004, 28(1) :91 - 117.
  • 6McFADDEN A. Dalvik Porting Guide[ EB/OL]. [2011-11-08]. http://android, git. kernel, org.
  • 7LIM H, PARK H. A method for detecting the theft of Java pro- grams through analysis of the control flow information[ J]. Informa- tion Software Technology, 2009, 51(9) : 1338 - 1350.
  • 8李倩.Java程序指向分析研究[D].南京大学.2012
  • 9肖增良,何锫,康立山.并行程序验证的调度策略[J].计算机工程与应用,2009,45(11):39-41. 被引量:1
  • 10魏达,金英,张晶,郑晓娟,李卓.基于开源JVM的安全策略强制实施[J].电子学报,2009,37(B04):36-41. 被引量:2

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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