基于源代碼同源比對的缺陷檢測系統(tǒng)設計與實現(xiàn)
[Abstract]:With the rapid development of computer network and the popularization of open-source ideas, the information related to software development, such as open source code, algorithms and function modules, is enriching the work of computer software development. And to some extent, some software will use or reference the related open source code or open source framework on the network to reduce the development complexity and improve the development efficiency. However, these open source code and functional modules on the network may have a variety of potential defects, such as security vulnerabilities, backdoor code and Trojan viruses, in the process of software development, If the source code of the software refers to the defective code, the software is likely to introduce the defect problem of the defect code into the developed software. This kind of software security is a hot topic in the field of security, and it is also the focus of this paper. This paper introduces the related technologies of source code homology alignment and defect analysis. On this basis, the abstract syntax tree alignment technology is improved, and the pruning matching algorithm based on abstract syntax tree is proposed. The algorithm can effectively find some source code modified for the underlying data, and improve the accuracy of source code homology alignment to a certain extent. Secondly, the source code dependency graph technology is applied to defect code detection, and the related algorithms of static stain analysis are improved, and a defect detection algorithm based on program dependency is proposed. The algorithm can detect the defect code based on the structure of the program dependency graph and the static stain analysis technology of the source code. A defect detection system based on source code homology alignment is designed and implemented in this paper. The system uses the technology of homology alignment based on text and abstract syntax tree. The source code text involved in the detection is compared with the defect code in the system defect code base to realize the defect detection for the source code, the system supports the management function of the defect code base, and the user can choose according to his own needs. Add and delete the defect code base. The validity of the related technologies used in the development of the system is verified through the test. The system is verified as a whole and good results are obtained.
【學位授予單位】:北京郵電大學
【學位級別】:碩士
【學位授予年份】:2016
【分類號】:TP311.52
【參考文獻】
相關期刊論文 前10條
1 朱雪梅;王興起;方景龍;王大全;;二進制程序整型符號轉換缺陷的動態(tài)檢測方法[J];計算機工程與應用;2015年18期
2 羅琴靈;蔣朝惠;;多策略軟件代碼缺陷檢測方法研究[J];貴州大學學報(自然科學版);2015年03期
3 李鄭;李姝;王俊;劉士進;;基于抽象語法樹分析的版本控制分支合并算法[J];計算機系統(tǒng)應用;2015年03期
4 陳翔;鞠小林;文萬志;顧慶;;基于程序頻譜的動態(tài)缺陷定位方法研究[J];軟件學報;2015年02期
5 徐濟惠;;基于Simhash算法的海量文檔反作弊技術研究[J];計算機技術與發(fā)展;2014年09期
6 劉鑫;;論計算機軟件安全技術分析[J];民營科技;2014年04期
7 秦曉軍;甘水滔;陳左寧;;一種基于一階邏輯的軟件代碼安全性缺陷靜態(tài)檢測技術[J];中國科學:信息科學;2014年01期
8 劉麗霞;張志強;;基于Trie樹的相似字符串查找算法[J];計算機應用;2013年08期
9 楊軼;蘇璞睿;應凌云;馮登國;;基于行為依賴特征的惡意代碼相似性比較方法[J];軟件學報;2011年10期
10 李虎;劉超;劉楠;李曉麗;;Java源代碼字節(jié)碼剽竊檢測方法及支持系統(tǒng)[J];北京航空航天大學學報;2010年04期
相關博士學位論文 前2條
1 陸華彪;網(wǎng)絡惡意代碼協(xié)同識別與特征提取研究[D];國防科學技術大學;2013年
2 趙云山;基于符號分析的靜態(tài)缺陷檢測技術研究[D];北京郵電大學;2012年
相關碩士學位論文 前2條
1 吳太文;基于缺陷分析的軟件體系結構退化研究[D];中南大學;2013年
2 梁北海;基于污點分析的Java Web程序脆弱性檢測方法研究[D];華中科技大學;2013年
,本文編號:2222716
本文鏈接:http://www.sikaile.net/kejilunwen/ruanjiangongchenglunwen/2222716.html