基于源代码分析的逆向建模  被引量:6

Inverse Modeling Based on Source Code Analysis

在线阅读下载全文

作  者:彭四伟[1] 朱群雄[1] 

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

出  处:《计算机应用研究》2006年第7期52-54,共3页Application Research of Computers

基  金:教育部科学技术研究重点资助项目(01024);中石化科学技术研究开发资助项目(E03007)

摘  要:逆向建模通过对源代码进行分析,提取出代码中的对象信息、结构信息、流程信息等,生成对象间的关系描述、结构描述、系统流程描述等设计模型描述。逆向建模过程中对源代码的分析处理与编译过程的前端处理相似,只是处理的复杂程度与产生的目标结果不同,因此可以采用编译技术对源代码进行处理。通过逆向建模可以弥补软件设计中缺少或缺失的模型设计文档,帮助代码阅读者更好地理解程序,帮助软件的测试和优化。介绍了对C/C++源代码进行逆向建模的实现。Inverse modeling to source codes is the process of generating the software' s model description according to the software's source codes. With the analysis to the source codes, inverse modeling process will collect objects' information and structures' information and system process' information from the source codes, generate the model descriptions of the program such as relationships between these objects, structure descriptions, and system process descriptions. Analysing the source code in the inverse modeling process is similar to the compiling process, but different in the complex degree and the target results generated, so the compiling technology could be used directly in the inverse modeling process. Inverse modeling could make up the design documents which is missing in the design process, could help the reader to understand the codes better, and could help to implement the software' s testing and optimization. This paper introduces an implementation of inverse modeling based on the C/C + + source codes.

关 键 词:源代码分析 软件建模 逆向建模 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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