本文已被:浏览 1909次 下载 4028次
Received:August 18, 2009 Revised:September 15, 2009
Received:August 18, 2009 Revised:September 15, 2009
中文摘要: 利用G++(GCC)的结构特点,将其前端的语言分析部分提取出来,对其前端部分进行初步研究,重构成独立的应用程序,用来对输入的源代码进行分析,并生成分析报告。代码分析的目的是为程序员提供代码的统计信息、结构信息,甚至更深层次的模式信息,帮助程序员更好地了解和把握程序的结构、框架和模式,提供改进、重构代码的参考依据。
Abstract:This article utilizes G++ (GCC) feature, extracts its front-end language analysis part, researches its front-end preliminarily, and restructs the independent application programme to analyze the input source code and produce the report. The purpose of code analysis is to supply the statistical information, the structure information, even the deeper level's pattern information of code for programmers, to help them understand and master the structure, the frame and the pattern of programme well, so as to provide reference of improving and restructuring code.
文章编号: 中图分类号: 文献标志码:
基金项目:
Author Name | Affiliation |
PENG Si-Wei | 北京化工大学 信息科学与技术学院 北京 100029 |
XIN Li-Juan |
Author Name | Affiliation |
PENG Si-Wei | 北京化工大学 信息科学与技术学院 北京 100029 |
XIN Li-Juan |
引用文本:
彭四伟,辛丽娟.基于G++前端的C++源代码分析系统的初步研究.计算机系统应用,2010,19(5):41-45
PENG Si-Wei,XIN Li-Juan.Preliminary Research of C++ Source Code Analysis System Based on G++ Front End.COMPUTER SYSTEMS APPLICATIONS,2010,19(5):41-45
彭四伟,辛丽娟.基于G++前端的C++源代码分析系统的初步研究.计算机系统应用,2010,19(5):41-45
PENG Si-Wei,XIN Li-Juan.Preliminary Research of C++ Source Code Analysis System Based on G++ Front End.COMPUTER SYSTEMS APPLICATIONS,2010,19(5):41-45