期刊文献+

一种基于反射和开放编译的C++植入机制 被引量:8

A C++ Instrumental Mechanism Based on Reflection and Open Compile
下载PDF
导出
摘要 动态分析是理解面向对象软件系统的主要手段 ,通过植入 ,才能准确提取系统运行时的信息。常见植入方法中 ,植入代码和目标代码处于同一计算层次 ,植入过程会影响目标代码运行的准确性和效率。基于反射原理 ,采用开放编译技术 ,通过将植入的软件触发器和被植入的目标系统作为两个计算层次来干预编译过程 ,从而达到软件植入的目的。引入了对象触发器 ,利用对象生命周期控制机制获取有用的动态信息 ,并详细描述了植入核心算法 ,利用OpenC ++实现了该植入机制。 Dynamic analysis of an object oriented system is critical for a user to comprehend such a system. Instrumentation is the main approach to extracting run time information of software system. Traditionally, the instrumented codes stand at the same level with source codes. This paper refers to software trigger and application system at two different levels by using the reflection principle and open compile techniques. A special object is used as the software trigger to collect important and useful information in run time scenario for its life cycle controlling process and the algorithm of reflection instrumentation is described in detail. Next, the instrumental mechanism for C++ is implemented by the Open C++, which is a typical open compiler. Finally, a test example is given to show the principle and effectiveness of our instrumentation approach.\;
出处 《系统工程与电子技术》 EI CSCD 北大核心 2003年第7期851-855,共5页 Systems Engineering and Electronics
基金 "十五"军事电子预研重点项目资助课题 ( 4 13 0 60 60 1)
关键词 程序理解 动态分析 软件植入 反射 开放编译 C++ Program comprehension Dynamic analysis Software instrumentation Reflection Open compile C+
  • 相关文献

参考文献10

  • 1王伟.[D].西安:西安电子科技大学,2003.
  • 2李青山 陈平 等.系统应用软件逆向工程开发工具v1.0用户使用手册[M].西安:西安电子科技大学,2002..
  • 3Tamar Richner, St' ephane Ducasse. Recovering High-Level Views of Object-Object-Oriented Applications from Static[M]. Oxford, England,UK, IEEE Computer Society Press, 1999:13-22.
  • 4Maennistoe T, Systae T, Tuomi J. SCED Report and User Manual[ R]. Report A-1994-5, Department of Computer Science, University of Tampere, 1994.
  • 5Jerding D, Rugaber S. Using Visualization for Architectural Localization and Extraction[ C ]. In Proc. s of the 4th WCRE, Amsterdam, Holland,IEEE CS Press, 1997.
  • 6Brant J, Foote B, Johnson R, et al. Wrappers to the Rescue[C]. Proc.of ECOOP'98, 1998:396 - 417.
  • 7Eliane Martins Amanda, Rosa C A. A Fault Injection Approach Base on Reflective Programming[ C]. DSN'2000,2000,1:407 - 416.
  • 8Chiba Shigeru. Implementation Techniques for Efficient Reflective Languages[M]. Department of Information Science, The University of Tokyo.
  • 9Chiba Slaigeru. A Metaobject Protocol for C + + [C]. Proc. of OOPSLA'95,1995:285-299.
  • 10REOOS Project, XDRE Tools. Version 2.0[M]. Software Engineering Institute, Xidian University, 2002.

同被引文献56

引证文献8

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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