期刊文献+

基于基元关系模型的C++程序静态分析器 被引量:2

C++ Program Static Analyzer Based on Element Relation Model
下载PDF
导出
摘要 分析了面向对象软件测试和度量的特点 ,结合面向对象程序的性质提出了描述程序基本组成元素之间关系的基元关系模型 (ERM) ,介绍了从基于MFC(MicrosoftFoundationClass)的VisualC ++6.0源程序中构造ERM模型的算法 ,据此构造了一个基于基元关系模型的VC ++6.0程序静态分析器 .对分析器实现中采取的名称空间符号表、增量式开发和增量式分析等关键技术进行了介绍 .实践证明 ,该分析器可以高效正确地提取出模型中描述的各种关系 。 By analyzing the characteristics of the object oriented (OO) testing and measurement, it is found that the most difficult task is to analyze the elements in OO programs. The ERM (Element Relation Model) is presented here, on which a static analyzer was constructed for better OO testing and measurement effectiveness and efficiency. Based on ERM and MFC (Microsoft Foundation Class) a VC++ 6.0 program analyzer is introduced here to depict how ERM can help test and measure OO software. Furthermore, the paper introduces some primarily concerned key technologies on constructing OO program analyzer, even OO compiler, such as how to structure the symbol table by namespace, how to incrementally extract ERM from OO programs. The static analyzer has proved the efficiency and correctness of the ERM. And at the same time it proved ERM would be helpful in OO testing and OO measurement practice and research.
出处 《北京航空航天大学学报》 EI CAS CSCD 北大核心 2001年第4期391-395,共5页 Journal of Beijing University of Aeronautics and Astronautics
关键词 软件工程 软件工具 程序语言 面向对象 软件测试 软件开发 C++程序静态分析器 Computer aided software engineering Computer programming languages Object oriented programming
  • 相关文献

参考文献5

  • 1普瑞斯曼 黄柏素等(译).软件工程--实践者的研究方法[M].北京:机械工业出版社,1999..
  • 2Microsoft公司 希望图书创作室(译).Microsoft Visual C++ 6.0 language reference,语言参考手册[M].北京:北京希望电子出版社,1999..
  • 3希望图书创作室(译),Microsoft Visual C++ 6.0 Language Reference 语言参考手册,1999年
  • 4黄柏素(译),软件工程.实践者的研究方法,1999年
  • 5高仲仪,编译原理,1990年

同被引文献12

  • 1周立萍,陈平.逆向工程发展现状研究[J].计算机工程与设计,2004,25(10):1658-1660. 被引量:17
  • 2黄会群.逆向工程技术研究[J].计算机与数字工程,2005,33(12):46-49. 被引量:4
  • 3Johnson S C. YACC-Yet Another Compiler-compiler. Technical Report Computer Science, No.32, Bell Laboratories, Murray Hill, New Jersey, 1975
  • 4Weiser M. Program Slices: Formal, Psychological, and Practical Investigation of an Automatic Program Abstraction Method[D]. Ann Arbor: University of Michigan, 1979
  • 5(美)RonPatton著 周予滨 姚静译.软件测试[M].北京:机械工业出版社,2002-10..
  • 6FJELSTAD R K,HAMLEN W T.Application program maintenance study:Report to our respondents[C].Philadelphia:Proceedings GUIDE 48,1983.
  • 7WU Jing,HOLT R.A program extractor suite for C and C++:choosing the right tool for the job[R].Canada:Cheriton School of Computer Science,University of Waterloo,2006.
  • 8樊平.新型多用途C++静态分析器的研究与开发[D].北京:北京航空航天大学,2001.
  • 9MURPHY G C,NOTKIN D.Lightweight lexical source model extraction[J].ACM Transactions on Software Engineering and Methodology,1996,5(3),262-192.
  • 10MURPHY G C,NOTKIN D,GRISWOLD W G.An empirical study of static call graph extractor[J].ACM Transactions on Software Engineering and Methodology,1998,7(2):158-191.

引证文献2

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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