基于G++前端的C++源代码分析系统的初步研究  

Preliminary Research of C++ Source Code Analysis System Based on G++ Front End

在线阅读下载全文

作  者:彭四伟[1] 辛丽娟[1] 

机构地区:[1]北京化工大学信息科学与技术学院,北京100029

出  处:《计算机系统应用》2010年第5期41-45,共5页Computer Systems & Applications

摘  要:利用G++(GCC)的结构特点,将其前端的语言分析部分提取出来,对其前端部分进行初步研究,重构成独立的应用程序,用来对输入的源代码进行分析,并生成分析报告。代码分析的目的是为程序员提供代码的统计信息、结构信息,甚至更深层次的模式信息,帮助程序员更好地了解和把握程序的结构、框架和模式,提供改进、重构代码的参考依据。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.

关 键 词:G++ 前端语言 重构代码 代码分析 参考依据 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象