期刊文献+

基于反射植入的面向对象程序动态分析机制 被引量:2

A Dynamic Analysis Mechanism for Object-Oriented Program Based on Reflection Instrumentation
下载PDF
导出
摘要 随着软件系统的日益复杂,软件开发、维护以及进化的大部分工作和主要成本集中在对现有系统的理解上。逆向工程以支持程序理解为目标,通过分析目标系统,产生系统不同形式和不同层次的抽象表示,帮助用户从多个层面和角度理解目标系统。为了开发一种实用的逆向工程工具,文中在深入分析了反射、开放编译、植入等技术的基础上,提出了一种基于反射植入的面向对象程序动态分析机制,其主要思想是通过反射植入软件触发器获取目标系统的动态信息,这些信息由信息收集机制收集整理并保存到Call-Graph,最后从Call-Graph抽象出符合UML标准的动态模型图。通过项目实践发现,这种机制是可行的。 For the complexity of software system, the main works of software development, maintenance and evolution have been focused on the comprehension of existing systems. The goal of reverse engineering is to support program comprehension. By analyzing target system, it generates abstract representations in different form and level and helps users understand target system at different levels and from different perspectives. On the basis of profound analyses of reflection technique, open compiler and instrument technique, a dynamic analysis mechanism for object-oriented program based on reflection instrumentation is provided in this paper for developing an applied dynamic analysis tool. The main idea is that dynamic information is gathered by triggers instrumented and saved to Call-Graph, and then abstracts dynamic model in accord with UML specifications from Call-Graph. The feasibility of the mechanism is verified by the project.
作者 柴晓前 陈平
出处 《微机发展》 2005年第5期11-13,17,共4页 Microcomputer Development
基金 国家"十五"军事电子预研重点项目资助(413060601.x)
关键词 反射 植入 逆向工程 动态分析 reflection instrumentation reverse engineering dynamic analysis
  • 相关文献

参考文献4

  • 1Mahrenholz D,Spinczyk O,Schroder- Preikschat W. Program Instrumentation for Debugging and Monitoring with Aspect C + + [ A]. Proceedings of The 5th IEEE International Symposium on Object - oriented Real - time Distributed Computing ( ISORC 2002 ) [ C]. Washington DC, USA: [ s. n. ],2002. 249 - 256.
  • 2Chiba S.A metaobject protocol for C++ [A]. In Proceedings of the 10th Annual Conference on Object-Oriented Programming: Systems, Languages and Applications (OOPSLA' 95)[C]. [s. l.]: ACM Press, 1995. 285- 299.
  • 3Stroulia E,Systa T. Dynamic Analysis For Reverse Engineering and Program Understanding[J]. Applied Computing Review,2002,10(1) :8 - 17.
  • 4郭俊丽,陈平.由序列图合成状态图[J].计算机工程与设计,2003,24(7):50-52. 被引量:2

二级参考文献4

  • 1Whittle J, Schumann J. Generating Statechart Designs From Scenarios[C]. ICSE 2000.314-323.
  • 2Ismail Khriss, Mohammed Elkoutbi, RudolfK Keller. Automating the Synthesis of UML StateChart Diagrams from Multiple Collaboration Diagrams in UML'98: Beyond the Notation[C]. LNSC 1618, 1999.132-147.
  • 3Tarja Systae. Dynamic reverse engineering of Java software[C]. ECOOP Workshops 1999. 174-175.
  • 4Kai Koskimies, Erkki M kinen. Inferring state machines from trace diagrams [C]. Tampere, Finland: Department of Computer Science, University of Tampere, 1993.

共引文献1

  • 1王勇,戚君贤,韦良芬.UML的精简与扩展[J].安徽工程科技学院学报(自然科学版),2006,21(3):39-41.

同被引文献2

  • 1李青山.面向对象软件的动态模型设计恢复与体系结构抽象[D].博士论文.西安电子科技大学,2003.
  • 2冯荣峰,王建民,孙家广.计算反射技术综述[J].计算机工程与应用,2003,39(27):57-59. 被引量:5

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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