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

Request the full text

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

  1. Study on driving factors of land use change and the city of Dujiangyan
    ZhouChuanJie ·Sichuan Agricultural University ·2012 ·Master's thesis
  2. The Research and Application of Desktop Search Engine Based on Lucene
    HuangJiangPing ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  3. The Design of Main Memory Database System Based on the Dynamic Monitoring System
    JiangZuo ·Wuhan University of Technology ·2013 ·Master's thesis
  4. Design and Implementation of Electronic License Plate Dynamic Monitoring Processing System Based on RFID
    LinZuo ·Xiamen University ·2013 ·Master's thesis
  5. Research on Trust Evaluation for Service in Cloud Computing
    ZhaoZuoZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  6. Dynamic Monitoring of Wanxi-White Goose Core Conservation Population and Its Genetic Variation
    ZuoRuiHua ·Anhui Agricultural University ·2012 ·Master's thesis
  7. Rock Slope Reinforcement of Shotcrete and Reinforcement Effectiveness Analysis
    LiuZhaoCheng ·Shandong University ·2013 ·Master's thesis
  8. Based on the owner (Nanjing Metro) of the metro vehicle supervision management improvement study
  9. Tower crane spatial structure dynamic analysis and monitoring technology research
  10. Open Cast Mine Monitoring and Ecological Effect Assessment through Remote Sensing
    ZhangYinLing ·Chinese Geology University (Beijing) ·2014 ·Doctoral dissertation
  11. Study on Controlling Factors and Monitoring Technology of NAPLs Underground Migration
    PanYuYing ·Ocean University of China ·2013 ·Doctoral dissertation
  12. Research on control and management system of Zhenjiang local maritime bureau water search and rescue emergency
    YuanHaiTao ·Jiangxi University of Technology ·2013 ·Master's thesis
  13. Assessment and Dynamic Monitoring of Mining Geo-environment in Ningxia
    ShangHui ·Chang'an University ·2013 ·Doctoral dissertation
  14. Ansai oilfield Chang 6 test data analyzing research
    ZhaoBaoJun ·Northwestern University ·2013 ·Master's thesis
  15. Study on the Monitoring Models for Forest Resource Volume
    YinHongQun ·Zhejiang Forestry University ·2013 ·Master's thesis
  16. Dynamic Monitoring and Automatic Extraction of Land Use Change Information with Supervised Classification
    HanHua ·Chang'an University ·2012 ·Master's thesis
  17. The research on monitoring system of remote sensing dynamic topography of intertidal
    GuYan ·Nanjing Normal University ·2013 ·Doctoral dissertation
  18. Research on Land Use Change of Chan Ba Ecological District Based on RS, GIS and GPS Technologies
  19. Study on the Repair Mechanism of Arbuscular Mycorrhizal Fungi and Its Ecological Effect in Mining Subsidence Area
  20. The Monitoring System Simulation Study of Operational Risk in China Medium Sized Commercial Bank