程序可视化表示中指针信息抽
[Abstract]:With the rapid development of computer application technology, the update speed of program is accelerated day by day, which takes up a lot of manpower and material resources for the maintenance of legacy system. To a certain extent, the program understanding technology promotes the maintainers' understanding efficiency, and reduces the workload of maintenance and redevelopment. Program visualization is an important branch of program understanding, it can effectively assist people to understand and study the existing software. The visual representation of programs involves the comprehensive application of many techniques and methods. On the basis of existing theories, this paper proposes a program visualization understanding scheme suitable for object-oriented programming language C code, and based on this scheme, the following research work is carried out. Firstly, the information extraction and re-organization are studied. A fast extraction algorithm based on regular search engine is designed to obtain code blocks of practical significance and build index tables of code. Selecting target information such as pointer, the program starts analysis based on index table, recursively parses the program code, obtains the minimum information set about the target information, abstracts the extracted minimum information set, and induces the minimum information set. In this paper, an abstract information organization and representation method is designed, which abstracts the relationship between codes as the relation between entity objects, and reorganizes the code and its relationship based on this relation. Secondly, the basic unit of visual representation and its implementation method are summarized. By studying the national standards of the program flow chart and the graphical symbols in UML, this paper summarizes several commonly used symbols such as package symbols, statement symbols, control structure symbols, and mathematical formulas needed in the process of their implementation. Then, through the research of source file reference relation and its visual representation, the basic steps of visualization process are summarized, and an algorithm to visualize the reference relation of source file is proposed. Finally, the visual representation of pointer information and its implementation algorithm are studied based on the previous contents. An example analysis shows that the visual representation of the program has a good auxiliary effect for people to understand the legacy program code.
【学位授予单位】:浙江工业大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP311.1
【参考文献】
相关期刊论文 前10条
1 张重峰;李必信;孙小兵;陶传奇;;基于切片度量的重构对象识别[J];东南大学学报(自然科学版);2010年02期
2 李必信,郑国梁,王云峰,李宣东;一种分析和理解程序的方法──程序切片[J];计算机研究与发展;2000年03期
3 张志猛,庄越挺,潘云鹤;面向对象软件的逆向工程[J];计算机研究与发展;2003年07期
4 秦拯;张玲;李娜;;改进的PageRank在Web信息搜集中的应用[J];计算机研究与发展;2006年06期
5 姜茸;廖鸿志;张新明;陈丽花;沙莉;;用信息熵度量软件项目人员流动风险[J];计算机工程与应用;2009年23期
6 杨波;张明义;谢刚;;抽象解释理论框架及其应用[J];计算机工程与应用;2010年08期
7 袁望洪;陈向葵;谢涛;郭耀;;逆向工程研究与发展[J];计算机科学;1999年05期
8 刘小东 ;李必信 ;杨朝晖 ;李宣东 ;郑国梁;;OOPSE——一种基于C~(++)/Java的程序分析系统[J];计算机科学;2001年01期
9 王少锋;;基于多agent的程序理解方法研究[J];计算机科学;2002年05期
10 周欣,孙家殨,杨芙清;青鸟C++程序理解工具[J];计算机工程;2000年11期
相关硕士学位论文 前4条
1 陈铭;软件漏洞逆向分析技术研究[D];电子科技大学;2007年
2 叶会华;程序理解中信息存储与检索技术的研究与实现[D];浙江工业大学;2007年
3 马灵春;程序理解中静态分析与抽取技术的研究及实现[D];浙江工业大学;2007年
4 王艳春;程序理解中文档生成技术的研究[D];浙江工业大学;2007年
本文编号:2278941
本文链接:https://www.wllwen.com/kejilunwen/sousuoyinqinglunwen/2278941.html