Research of Neglected Conditions Defects Discovery Method Based on Graph Data Mining

Author
YangYang
Advisor
ZuoBinBin
School
Huazhong University of Science and Technology
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2012
Downloads
16
Citations
0

Request the full text

Abstract

With the rapid development of the software industry, the little defects in the softwarealmost used by malicious attackers, and cause huge loss to enterprise and ordinary users.Therefore, the problem of safety in the software is more and more important.In recent years, some methods combined Data Mining with Software Testing, and thisbecome a kind of new software test ideas. In this paper will finish a software testingsystem using Mining Maximal Frequent Subgraphs. The Program Dependence Graph setsas the inputs, and mining the correct rules in software, finally, with these rules to verifythe correctness of the program.In this paper, the defects discovery method can be divided into three process, datapreprocessing, rule mining and defects matching. This paper introduces the key problemsin the process of each step, divided data preprocessing into five steps and describedrespectively. Approach a rule mining algorithm based on the relationship between closedfrequent subgraphs and maximal frequent subgraphs called MCFSM, prove that MCFSMalgorithm can be better adapt to the mining of PDG in programs compare to other similaralgorithms. Matching the rules with the data after preprocess, for every rule looking forthe match program code from the input data, finally output the matching results.The last of paper proposed a system according to the theory, introduce the functionmodule and the design of the system. The experiments show that, the method proposed inthis paper is effective, feasible and acceptable.

Table of contents

Summary 4-5 ABSTRACT 5-8 1 Introduction 8-14 1.1 Background and Significance 8-9 1.2 domestic and foreign research status major work 9-12 1.3 article organizational structure nbsp 12-13 1.4 herein ; 13-14 <br / > 2 loophole mining technology definitions 14-27 2.1 vulnerabilities 14-15 2.2 data entry forms 15-17 2.3 vulnerability Discovery process critical issues 17-18 2.4 loophole mining 18-21 2.5 key technology solution strategy 21-26 2.6 Summary 26-27 3 graph mining and vulnerabilities positioning method 27-43 3.1 data preprocessing 27-32 3.2 MCFSM algorithm 32 - 39 3.3 vulnerability detection and location 39-42 3.4 Summary 42-43 4 system Design and Implementation 43-71 <br / > background and Overview 4.1 System 43-44 4.2 system development environment 44 4.3 modules organization 44-47 4.4 nbsp main data structure ; 47-52 4.5 detailed system design and implementation 52-66 4.6 system experiments 66-70 4.7 Summary 70 - 71 5 summary and Outlook 71-73 5.1 This article summarizes 71 5.2 job Outlook 71-73 Thanks 73-74 References 74-77 Appendix a to participate in the study for a degree during the research 77-78 Appendix B experiment to test the source code examples 78