Research on Dynamic Monitor System Based on the Source Code of Java
- Author
- WangChengJia
- Advisor
- WuHai
- School
- Huazhong University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP312.1
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 17
- Citations
- 0
Abstract
With the rapid development of information technology and the growth of userdemand, Java is widely used in programming. it improved the efficiency of softwaredevelopment, but it brought great challenges for developers to find program vulnerabilities.with the advantages of high accuracy and monitoring in real-time, Dynamic monitoring iswidely used and researched. So it is a great practical significance of studying dynamicmonitoring technology based on the Java source code.Dynamic monitoring is a key technology to get the run-time information. we useinstrumentation to monitor the Java program. First, we use open source tool to do theprocess of lexical analysis and syntax analysis, save the source code information to theprogram intermediate representation and restructure the source code, according to thereconstructed source and intermediate representation of the source code, we implement aprogram instrumentation method based on the statement id, which overcome someproblems of program instrumentation based on the abstract syntax tree, we achieve adynamic monitoring framework based on Java source code and complete the codecoverage statistics based on the method, including statement coverage, branch coverage,loop coverage and multi-condition coverage. we find a way to calculate taint coverage byusing program slicing, and we use taint coverage information to confirm the vulnerabilityof static analysis, which increase the vulnerability accuracy.The experiments show that the dynamic monitoring framework can accomplish thecode coverage statistics, the confirmation of static analysis vulnerability and the newprogram instrumentation method increase the flexibility and scalability, and reduce thetime overhead, The experiment results have achieved the intended purpose.
Table of contents
Abstract 4-5
Abstract 5-6
catalog 6-8
1 Introduction 8-15
1.1 background and Significance domestic and foreign research status quo 1.2 8-9
9-13
1.3 main contents 13
1.4 thesis structure 13-15
2 dynamic monitoring of static analysis methods 15-26
2.1 ANTLR Profile 16
2.2 lexical analysis and parsing 16-20
2.3 abstract syntax tree design and traversal intermediate 20-23
2.4 program , said 23-25 ??
2.5 chapter Summary 25 -26
3 program slicing -based stains 26-40
3.1 program slicing 26-29
3.2 blemish -based program slicing algorithm 29 -34
3.3 stain coverage calculation 34
3.4 vulnerabilities based stains covering confirm 34-39
3.5 Summary 39-40
4 prototype dynamic Monitoring system Design and Implementation 40-61
4.1 system framework design 40-41
4.2 preprocessing module design and implementation of 41- 47
4.3 program instrumentation module design and implementation 47-56
4.4 automatically compile the module design and implementation of 56-59
4.5 test case generation module design and implementation 59
4.6 test Driven design and Implementation 59-60
4.7 chapter Summary 60-61
5 experiments 61-69
nbsp 5.1 experimental environment ; 61
5.2 dynamic Monitoring framework validation experiments 61-66
5.3 static vulnerability confirmation experiment 66-68
5.4 summary 68-69
6 summary and Outlook 69-71
6.1 paper summarizes 69
6.2 job prospects 69-71
Thanks 71-72
references participate during the 72-76
Appendix pursue a degree research 76
Related dissertations
- Study on driving factors of land use change and the city of Dujiangyan
- The Research and Application of Desktop Search Engine Based on Lucene
- The Design of Main Memory Database System Based on the Dynamic Monitoring System
- Design and Implementation of Electronic License Plate Dynamic Monitoring Processing System Based on RFID
- Research on Trust Evaluation for Service in Cloud Computing
- Dynamic Monitoring of Wanxi-White Goose Core Conservation Population and Its Genetic Variation
- Rock Slope Reinforcement of Shotcrete and Reinforcement Effectiveness Analysis
- Based on the owner (Nanjing Metro) of the metro vehicle supervision management improvement study
- Tower crane spatial structure dynamic analysis and monitoring technology research
- Open Cast Mine Monitoring and Ecological Effect Assessment through Remote Sensing
- Study on Controlling Factors and Monitoring Technology of NAPLs Underground Migration
- Research on control and management system of Zhenjiang local maritime bureau water search and rescue emergency
- Assessment and Dynamic Monitoring of Mining Geo-environment in Ningxia
- Ansai oilfield Chang 6 test data analyzing research
- Study on the Monitoring Models for Forest Resource Volume
- Dynamic Monitoring and Automatic Extraction of Land Use Change Information with Supervised Classification
- The research on monitoring system of remote sensing dynamic topography of intertidal
- Research on Land Use Change of Chan Ba Ecological District Based on RS, GIS and GPS Technologies
- Study on the Repair Mechanism of Arbuscular Mycorrhizal Fungi and Its Ecological Effect in Mining Subsidence Area
- The Monitoring System Simulation Study of Operational Risk in China Medium Sized Commercial Bank