Implementation of C++Checking Tool with Static Safety Rules

Author
WeiZhiQiang
Advisor
WangAnSheng
School
Beijing University of Posts and Telecommunications
Major
Software Engineering
Classification
TP312.1 Programming language ALGOL
Degree
Master's thesis
Year
2009
Downloads
114
Citations
2

Request the full text

Abstract

C language is a development language of software which is widely used at present. The developers using C language pursuit efficiency and flexibility of the language. So they ignore the safety of the language in varying degrees. And because of limited capacity and carelessness of programmers, the safety of software is under serious threat.The development of C static safety rule checking tool is studied in this paper. Static code checking tool is software which is used to help programmers to automatically detect whether there are potential safety defect in source code. Through line by line it analyses the source code and finds the potential safety defect in software. The formulation of safety rules based on \aerospace. According to static analysis of C program, the code which is detected non-compliance with safety standards is warned. The purpose is to detect potential safety defect in C program by application of static analysis.Rule checking tool is based on open source compiler GCC and the code which is used to check rules is added on the base of the frontend of GCC. Therefore firstly this article introduces the theory of achieving the frontend of compiler, and then it introduces the internal structure and implementation of the frontend of GCC through reversely analysis of source code of GCC. Finally the methods to develop checking tool are discussed totally according to GCC source code.

Related dissertations

  1. Research and Implementation of the Autovectorization for YHFT-Matrix Complier
  2. The high school mathematics teaching case preparation and use of problem analysis and countermeasure research
    CuiHengMiao ·Shandong Normal University ·2014 ·Master's thesis
  3. The Gulf Regional Cooperation after the Cold War: a Regionalism Perspective
    YuZhen ·Shanghai International Studies University ·2014 ·Doctoral dissertation
  4. The Development of the Neonatal Nurses' Knowledge and Attitudes Survey Regarding Pain
    XieXiaoZuo ·Central South University ·2013 ·Master's thesis
  5. Soil Carbon/Nitrogen Dynamics, Carbon Fractions and Nutrient Distribution under Long Term Tillage and Residue Management Systems in North China Plain
  6. Development of Laser Coal Stocktaking System
  7. Migration and Transformation Law of Nitrate in Unsaturated Zone and Saturated Zone
    DingQingHua ·Hefei University of Technology ·2013 ·Master's thesis
  8. Research on the Key Technology of Compiled-typed Cnc System Based on USB Communication Interface
    RenYanHai ·Harbin Institute of Technology ·2013 ·Master's thesis
  9. A New Algorithm of Sound Source Localization Based on Special Acoustic Detection
  10. Technical Structure Analysis for Chinese Manufactured Goods Export to GCC
    RenMin ·Ningxia University ·2013 ·Master's thesis
  11. "History of the Song Dynasty, and clothing Chi" research
    WangBing ·Shanghai Normal University ·2013 ·Master's thesis
  12. The Design and Implementation of A Miniature Programmable Controller Based on ADuC831Singlechip
    LaJunFei ·Taiyuan University of Technology ·2012 ·Master's thesis
  13. Algorithm Research and Localization System Design of In-Tank Robot Based on Microphone Array
    ZuoSongHua ·Shanghai Jiaotong University ·2012 ·Master's thesis
  14. Analyze and Transplant of GCC Compiler Based on the Platform of SPARC
  15. The Design and Implementation of Testing Service System Based on Software Behavior Analysis
    ShenYi ·Nanjing University ·2013 ·Master's thesis
  16. Research and Implementation of Tape Resources Management System
  17. Study on sound source localization algorithm based on time delay estimation
    ZhangQing ·North China University of Technology ·2012 ·Master's thesis
  18. Research of Digital Integrated Circuit Design
  19. Key Technologies for Strained Si/Ge MOSFETs with Source/Drain Stressors
  20. Study on the construction of the six Gulf countries security from the perspective of Communitarianism
    LiuBin ·Shanghai International Studies University ·2013 ·Doctoral dissertation