Dissertation > Excellent graduate degree dissertation topics show

C++ Static Analyzer’s Development Based on GCC

Author: DanShiHua
Tutor: WangAnSheng
School: Beijing University of Posts and Telecommunications
Course: Software Engineering
Keywords: GCC C Check Rules C static analysis Compiler theory
CLC: TP311.52
Type: Master's thesis
Year: 2009
Downloads: 159
Quote: 1
Read: Download Dissertation

Abstract


C has become one of the most mainstream of the development of language, more and more use of C language development tools, especially in some important areas, such as: vehicle control, aerospace fields. With the development of computer technology, the C language development tools in the field of aerospace has been widely used, not just ground, radar systems, such as aerospace, missile systems become more and more important. Since the efficiency and other characteristics of the C C must be more widely and more important applications. However, due to the complexity of the C language system, a software program developed using the C language, the inevitable with defects. So we need self-developed set of test tools to ensure that the software program safe and reliable operation. C static analyzer is part of the project, the development of C static analyzer, testers, developers can examine the code and found flaws in the code, to ensure the safety and reliability of the code. First of all, according to the \To the MISRA C: 2008, focus on describing the common C errors, according to an important extent, is divided into rules and recommendations. When authoring tool error to be distinguished. The C static checking rule 1.0 is a manual prepared by our own, as technology evolves, you can update the manual at any time, C static analyzer developed more in line with the field of aerospace. Secondly, C static analyzer as the basis for the development of open source compiler GCC. GCC is one of the most successful open source tools, Codes, strict. Use the GCC to ensure that the tools have a good cross-platform, and can be a large degree of assurance of the quality of software development. According to Rule 1.0 of the C static checking process, check the rules for classification, mainly divided into lexical analysis, syntax analysis, and semantic analysis process. This paper focuses on the the GCC C compiler process, the process of program logic and GCC symbol table. GCC proper use of the symbol table is the basis of the rule checking, symbol table lookup, the analysis is also key and difficult. Finally, the article focuses on the application of the rule checking GCC steps, methods, and specific implementation process as well as a simple test case. Test cases run, C static analyzer is correct and feasible, the application of this tool can detect defects in the source code.

Related Dissertations

  1. The Research of Japanese Primary Music Textbooks,G623.71
  2. Analysis and Evaluation of Some Heavy Truck Drive Axle Housing’s Static and Dynamic Characteristics,U463.218.5
  3. AVIC International Plaza Building, structural stability analysis,TU973.2
  4. Based on Multi-granularity dependency graph change impact analysis method,TP311.53
  5. Vehicle-mounted snubbing workover rig derrick Design and analysis,TE935
  6. Based on the finite element analysis to improve the design of medium-duty truck chassis and Test Research,U463.32
  7. Magnet contactor design and analysis of static and dynamic characteristics,TM572.1
  8. Diversification of ownership of the object based on the nature of software trustworthiness,TP311.52
  9. Design and Implementation of the Vectorizing Complier of High-Performance DSP Matrix,TP314
  10. Vehicles and branch steel box arch bridge static and dynamic computational analysis and experimental space,U441
  11. The Research of Dynamic and Static Characteristic of Resin Concrete Machine Bed,TG502.3
  12. Research on the Square RAM Deformation Processing and Compensation,TG548
  13. The Structural Design and Experimental Research on Kilometer Pitch Carbon Fiber Roll-up System,TQ342.742
  14. The Research on the Efficient Focusing Technique of Micro-thrust-STP,TK513
  15. Research of the Key Technologies of PC200 Slipforming Curb Machine,U415.5
  16. Bridge Swivel Construction and Stability Analyses of Beijing Olympic Games,U445.4
  17. Study of Statistics and Vibration Damping of Gearbox/transmission Casing,TH113
  18. Finite Element Modeling and Analysis of Antenna Turntable Bearing-gear System,TH132.41
  19. New Type of Aluminum Ingot Palletizing Robot Finite Element Analysis and Optimization,TP241
  20. Research on the Buffer Overflow Technology Based on GCC,TP393.08
  21. Research on Corporate Income Tax Evasion Factors and Governance Based on the A-S Model,F812.42

CLC: > Industrial Technology > Automation technology,computer technology > Computing technology,computer technology > Computer software > Program design,software engineering > Software Engineering > Software Development
© 2012 www.DissertationTopic.Net  Mobile