Design and Implementation of Security Vulnerability Analyzer Based on Automaton
- Author
- DingZhiHao
- Advisor
- LiuJian
- School
- Xi'an University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 10
- Citations
- 0
Abstract
A security vulnerability inspection mechanism based on Automaton Theory is designed and implemented for a C/C++program static security checker in this thesis, which can support the users of the checker to define custom security rules and analyze security rules dynamically.Firstly, basic theories about security vulnerabilities are introduced in this thesis. On this base, the security vulnerability inspection mechanism based on automaton theory is discussed, and automaton description language grammer based on pattern and Automata Semantics structure is designed and implemented for the security vulnerability inspection mechanism. In order to improve the accuracy of the analysis, the pattern matching algorithm, semantic Analyzer and interprocedual analysis is designed and implemented. Pattern matching utilizes abstract syntax tree isomorphism algorithm; Pointer semantics determines the semantics of programs through semantic constraints to check out security vulnerabilities; Interprocedural analysis adopts summary-based context sensitive analysis. Finally, experiments are designed and the results illustrate the security inspection mechanism based on automaton in the thesis can check out security vulnerabilities in the source code effectively.
Table of contents
Summary 3-4
Abstract 4-7
first chapter 7-13
1.1 Background 7-9
1.1.1 C / C application security relevant inspection method 7
1.1.2 software security 7-9
1.2 project Overview 9-11
1.2.1 overall project design 9-10
1.2.2 automatic machine check module 10-11
1.3 This work and content organization 11 work -13
1.3.1 herein content Organization 11
1.3.2 herein 11-13
chapter related technology and overall design 13-21
2.1 technologies and tools 13-16
2.1.1 ANTLR 13
2.1.2 symbol table 13-14
2.1.3 abstract syntax tree 14
abstract syntax tree traversal 2.1.4 14-15
2.1.5 control Flow Graph 15-16
2.1.6 alias analysis 16
2.2 automata checking mechanism 16-21
2.2.1 automaton checking mechanism overall framework 16-18
2.2.2 automata concepts design and implementation of Chapter 18-21
automatic machine description language grammar 21-37
3.1 has been checked principle tool 21
3.2 automaton grammar framework 21-24
3.3 automatic mode grammar 24-28
3.4 automata semantic grammar 28-32
3.4.1 pointer semantic grammar 28-30
3.4.2 pointer semantics design 30-32
3.5 automata data structure 32-35
3.5.1 automaton state 32-33
3.5.2 automatic mode 33
3.5.3 automatic machine safety rules 33-34
3.5.4 program state management 34-35
3.5.5 automata semantic value 35
3.6 Summary design and implementation of Chapter IV 35-37
automatic machine safety inspection 37-51
4.1 automata security check engine 37-39
4.2 automata the state controller 39-41
4.3 pattern matching algorithm 41-45
4.3.1 patterns and abstract syntax tree of the source code 41-42 <br / > 4.3.2 pattern matching algorithm framework matching algorithm 42-43
4.3.3 expressions structure 43-45
4.4 automata semantic analyzer basic framework 45-47
4.4.1 semantic analyzer 45-46
4.4.2 semantic analysis algorithms 46-47
4.5 based on automata cross- process analysis overall flow of 47-50
4.5.1 cross- process analysis 48-49
4.5.2 cross- process analysis algorithm 49-50 <br / > 4.6 Chapter Summary 50-51
fifth chapter analyzes instances of automata based security checks 51-57
5.1 certification inadequate inspection 51 - 53
5.2 subscript bounds checking 53-55
5.3 memory resource leak check 55-57
Chapter VI Conclusion 57-59
Thanks 59-61
References 61-63
Related dissertations
- Research on the Realization Route of Urban-rural Integration of Pension Insurance System of China
- An Analysis on the Tourism Urbanization and It’s Pattern in Urumqi
- Research of SLS Enterprise’s Labor and Employment Pattern
- Study on Lean Tracking Services Model of YR Management Consulting Company
- Study on the Pattern of Internal Auditing for Yunnan Power Grid Corporation
- Situation Analysis and Strategies for Evelopment of Apple Modern Industry of Qianyang
- Research on Land Regulation Partition in Liu An City
- Study on the Situation in Anlu City, the Land Sirculation Problems and Countermeasires
- Regular-Expression Matching and Optimization Techniques Using Negative Factors
- Analysis of Entry Point of Foreign Exchange Transactions Based on Collaborative of Indicators in Different Scales
- The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
- Spatial Distribution Pattern of Chinese Golf Facilities and Related Factors Exploration Based on Spatial Auto-correlation Theory
- Analysis on the status quo of China's current world women's shot put in the pattern of development of the women's shot put
- The Research about the Patterns of the Cooperative Education between Fujian and Taiwan P.E. Colleges and Universities in the Physical Education Major
- Research on Innovation and Implement Path of Moral Education Pattern in Secondary Vocational Schools
- A Comparative Study of Enterprise-Education-Research Co-operative Pattern between China and Abroad from the Perspective of University
- The GIS-based Practice Research on Cul-tivating Geospatial Literacy of Middle School Students
- Application of Trial Teaching Method in Classical Chinese Teaching in the Senior High School
- The Mode and Evaluation of Vocational Training to Demobilized Officers
- The South China Sea Issue Research under the Perspective of Geopolitical