期刊文献+

一个基于Eclipse的通用Java程序插桩工具 被引量:3

General Java Program Instrumentation Tool Based on Eclipse
下载PDF
导出
摘要 插桩技术作为一种有效理解程序动态行为的手段,已经被广泛应用于程序分析、测试和验证中。然而,由于缺少通用的插桩工具,各种具体的应用往往需要从头开发特定的插桩程序,存在着大量的重复性工作。此外,由于在原始程序中插入了大量额外代码,致使调试过程变得更加复杂和困难。针对这些问题,提出了一个基于Eclipse的通用Java代码插桩工具,即通过规则定义匹配程序的执行点,从而定制针对各种分析、测试和验证插桩需求的支持。通过对插桩代码片段的显式/隐式切换实现其可见性管理,从而确保程序的理解和调试过程不受插桩代码影响。通过使用该工具,可以更好地将插桩技术应用于Java程序开发中。 Program instrumentation technique has been widely used in program analysis,testing and verification as an effective method for understanding the dynamic information of programs.However,for the absence of general instrumentation tools,different applications need to recreate the specific tool meeting their requirements,hence wasting time and energy.In addition,the debugging processes become more and more complicated because of the instrumented code inside the original program.To solve such problems,the paper presented a general instrumentation tool based on Eclipse for Java program.By defining the rules to match the execute points of program,a specific instrumentation tool could be customized to meet the different requirements of Java program analysis,testing and verification.By switching between visibility and non-visibility of the instrumented code,users of our tool can't be disturbed by the planted fragments in comprehending and debugging java program.We believe that through utilizing our tool,the program instrumentation technique can be better applied in the Java program development.
作者 郑晓梅
出处 《计算机科学》 CSCD 北大核心 2011年第7期139-143,169,共6页 Computer Science
基金 863国家高技术研究发展计划(2007AA010302) 国家自然科学基金(60425204) 江苏省自然科学基金(BK2007714) 江苏省高校自然科学基金(07KJB10002)资助
关键词 程序插桩 JAVA ECLIPSE插件 Program instrumentation Java Eclipse plugin
  • 相关文献

参考文献14

  • 1戴清涵,李宣东,赵建华,郑国梁.面向设计流图的代码支撑工具[J].计算机科学,2005,32(11):203-206. 被引量:1
  • 2Jeffrey D,Gupta N. Improving Fault Detection Capability by Selectively Retaining Test Cases During Test Suite Reduction[J]. IEEE Transactions on Software Engineering,2007,33(2) :108-123.
  • 3Beydeda S,Gruhn V. BINTEST-Binary Search-based Test Case Generation[C] // Proceedings of the 27th Annual International Confer- ence on Computer Software and Applications IEEE Computer Society, 2003.
  • 4Kiczales G, et ak Asspect-oriented Programming [C]// Procee- dings of the European Conference on Object-oriented Programming. Finland: Springer-Verlag, 1997.
  • 5vim: http://www, vim. org/.
  • 6emacs., http://www, gnu. org/software/emacs/.
  • 7Lee H B, Zom B G. BIT:A Tool for Instrumenting Java Bytecodes.
  • 8BCEL: The Byte Code Engineering Library[EB/OL]. http://jakarta. apache org/becl/.
  • 9Java Instrumentation API(JIAPI) [EB/OL]. http://jiapi, source- forge, net/.
  • 10Eclipse Instrumentation Framework [EB/OL]. http://dev, e- clipse, org/viewcvs/index/ cgi/-checkout-/platform-ui-home/ instrumentation/index, html.

二级参考文献4

  • 1OMG Unified Modeling Language Specification. March 2003 Version 1.5.
  • 2Mellor S J,Balcer M J. Excutable UML.
  • 3David S. Frankel. Model Driven Architecture.
  • 4DonaldHearnM BakerP.计算机图形学[M].北京:电子工业出版社,2003..

同被引文献20

  • 1刘慧梅,徐华宇.软件测试中代码分析与插装技术的研究[J].计算机工程,2007,33(1):86-88. 被引量:9
  • 2马桂杰,蒋昌俊,刘吟,王忱.基于插桩技术的并行程序性能分析方法设计和实现[J].计算机应用研究,2007,24(10):225-228. 被引量:5
  • 3CH1TI'IMALLI P K, SHAH V. GEMS:a generic model based source code instrumentation framework [ C ]//Proc of the 5th International Conference on Software Testing, Verification and Validation. Washing- ton DC : IEEE Computer Society, 2012 : 909- 914.
  • 4MARAGATHAVALLI P, KANMANI S, KIRUBAKAR J S,et al. Au- tomatic program instrumentation in generation of test data using gene- tic algorithm for multiple paths coverage [ C ]//Proc of IEEE Interna- tional Conference on AdVances in Engineering, Science and Manage- ment. Washington DE :IEEE t/tess ,2012:349-353.
  • 5GONG Dan-dan, WANG Tian-tian, SU Xiao-hong, et al. A test-suite reduction approach to improving fault-localization effectiveness [J ]. Computer Languages, Systems & Structures, 2013,39 ( 3 ) : 95- 108.
  • 6HANGAL S, LAM M S. Tracking down software bugs using automatic anomaly detection[ C ]//Proc of the 24th International Conference onSoftware Engineering. New York :ACM Press ,2002:291-301.
  • 7YU Yan-bin,JONES J A,HARROLD M J. An empirical study of the effects of test-suite reduction on fault localization [ C ]//Proc of the 30th ACM International Eonference on Software Engineering. New York:ACM Press,2008:201-210.
  • 8JONES J A, HARROLD M J, STASKO J. Visualization of test infor- mation to assist fault localization [ C ]//Proc of the 24th International Conference on Software Engineering. New York : ACM Press, 2002 : 467-477.
  • 9ABREU R,ZOETEWEIJ P,Van GEMUND A J C. On the accuracy of spectrum-based fault localization[ C]//Proc of the Testing: Academic and Industrial Conference on Practice and Research Techniques-- MUTATION. Washington DC : IEEE Computer Society ,2007:89-98.
  • 10WONG W E, QI Yu, ZHAO Lei,et al. Effective fault localization using code coverage[ C]//Prec of the 31st Annum International Conference on Computer Software and Applications. Washington DC : IEEE Com- puter Society, 2007:449-456.

引证文献3

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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