Design and Implementation of hybrid programming embedded test software for multi- language
- Author
- WuKang
- Advisor
- LeiHang , LuoWei
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 222
- Citations
- 4
Abstract
With the expanding range of embedded applications, embedded software testing has increasingly attracted the attention of developers. Embedded software testing with common software testing has its particularity. The embedded software can only be performed on a hardware platform specified in the demand; embedded software development environment and runtime environment is inconsistent with the host environment fully test the software running in the target environment on no problem. And embedded system than the system of higher reliability requirements, embedded system security failure may lead to disastrous consequences. Home and abroad a lot of research on embedded software testing, for embedded software testing system are endless. In embedded software development, compilation closely integrated with the hardware, while the high-level language is flexible and easy to use, there are also a part of using assembly mixed with the high-level language to write embedded software. However, the majority of the domestic and international test platform only for programs written in a language test or test different configurations to achieve different languages, but not both synchronous multilingual test more assembler mixed with the high-level language to write embedded software testing. Given this situation, it is necessary to study embedded software testing, especially hybrid programming software testing and exploring new ways to build a new test platform and the development of a new test system. In this paper, the main features and methods of analysis of embedded software testing, as well as the current development status, problems to be solved on the basis of the test platform and system research and development in the past, focused by the assembler and C language prepared by mixing the embedded software, explore and propose a new test method. Mixed in a multi-language writing embedded software testing, assembler and C language structure is different, complete code coverage testing is very difficult, so this article proposed and designed a new analytical processing mechanism under Linux Lex and Yacc two tools constructor syntax analyzer, so that it can automatically code types discrimination, and the compilation of the code section and C language code part of the basic block structure, unified structured format. Program staked, call GCC C language part staked and builds to a similar GCC staked mechanism inserted pile compilation part, the source can by GCC complete coverage testing, and then through GCOV the compiler produced after the two files are analyzed to get the program statement coverage and branch coverage, in order to determine the presence of defects of the software design.
Table of contents
Summary 4-5
Abstract 5-10
Chapter Introduction 10-13
1.1 subject background 10-11 < br /> 1.2 issues Summary 11
1.3 I mainly work 11-12
1.4 chapters arranged 12-13
embedded software the test Research the 13-25 2.1 embedded software testing
defined 13
2.2 embedded software test object 13-14
2.3 embedded software testing environment 14-15
2.4 embedded software testing process model 15-17
2.4.1 W model 15-16
2.4.2 H model 16-17
2.5 embedded software testing classified 17-19
2.5.1 testing phase classification 17-18
2.5.2 according to whether the test run the tested program classification 18
2.5.3 from test whether the classification system's internal structure and logic process 18-19
2.5.3.1 black box testing nbsp
2.5.3.2 white-box testing on the 18th; 18-19
2.5.3.3 gray box testing 19
2.6 Embedded software test evaluation methods 19-23
2.6.1 coverage measures 19-23
2.6.1.1 statement covering 20-21
2.6 .1.2 branch coverage 21-22
2.6.1.3 Decision Coverage 22-23
2.6.2 Quality evaluation 23
2.7 Summary 23-25 ??
Chapter embedded software testing tools and the research 25-32
3.1 embedded software testing tools 25-27
3.1. a pure software testing tools 25
3.1.2 pure hardware testing tools 25-26
3.1.3 Rigid-Flex testing tools 26-27 <br / > 3.2 Embedded Software Testing Research 27-31
3.2.1 embedded software testing abroad 27-29
3.2.1.1 CodeTest 27 -28
3.2.1.2 Logiscope, nbsp 28
3.2.1.3 Testware,; 3.2.2 domestic research on embedded software testing 28-29
29 -30
3.2.3 multi-language mixed write embedded software testing research status are found; 30-31
3.3 Summary 31-32
Chapter oriented 4.1.1 multi language the mixed programming embedded test software overall design 32-41
4.1 embedded test software for multi-language mixed programming technology roadmap 32-35
programming language mixed characteristics 32
4.1.2 for multi-language mixed programming embedded test software implementations 32-33
4.1.3 for multi-language mixed programming embedded test software technology roadmap 33-35
4.2 for multi-language mixed programming embedded test software functionality and operating environment 35
4.3 for multi-language mixed programming embedded test software overall framework 35-40
4.3.1 Overview of the overall framework of embedded test software for multi-language mixed programming 35-36
4.3.2 function test module the 36-38
4.3.3 code performance test module 38-39
4.3.4 Data analysis and the document reporting module 39
4.3 .5 communication interface converter module 39-40
4.4 Summary 40-41
Chapter the mixed programming embedded software for multi-language coverage test 41 -66
5.1 analysis processing module 41-54
5.1.1 program scan module the module algorithm and process of 42-44
5.1.1.1 program scans 42-43
5.1.1.2 program scan module data structure 43-44
5.1.2 pretreatment module 44-46
5.1.2.1 pretreatment program 45
5.1.2.2 preprocessing algorithm and flowchart the 45-46
5.1.3 lexical analyzer 46-54
5.1.3.1 Lex the Yacc About 47-48
the 5.1.3.2 the lexer design 48
5.1.3.3 Application Lex and Yacc lexer 48-54
5.2 test coverage 54-65
5.2.1 basic blocks 54-55
5.2.2 program inserted pile 55-60
5.2 nbsp the staked principle of .2.1 GCC; nbsp 56-57
5.2.2.2 compiled, staked principle; 57-60
5.2.3 GCOV analysis and application 60 - 65
5.2.3.1 GCOV works 60-61
a 5.2.3.2 GCOV file format analysis the 61-63
5.2.3.3 GCOV, data processing and analysis principle the 63-64
5.2.3.4 GCOV Applications 64-65
5.3 Summary 65-66
Chapter VI Conclusion 66-68
6.1 Full Summary the 6.2 further 66
66-68
Acknowledgements 68-69
Reference 69-70-
personal resume, research during the study period and published academic papers 70-71
Related dissertations
- 89c52 based test platform for embedded system software research and development
- Design the Prediction of System Insect Pests of Crop Based on GRNN Neural Network
- Design of visual simulation system for glide bomb
- Study on the Methods of Water Quality Real-time Monitoring and Intelligentized Warning in Water Source
- Frequency Domain Design of Control Systems Based on Particle Swarm Optimization Algorithm and the Visualization Platform Research
- The Research on Progressive Image Transmission Methods Based on Region of Interest
- Key Technologies Research on Embedded IO Controller Software Testing
- Research on Embedded Software Testability
- Research on Embedded Software Testing and Evaluation Technology for Electrical Products
- Parallel Programming and Optimization Based on Multi-core Processors
- Design and Implementation ATS of a Certain Signal Processing Circuit
- The Applications Research of the Fractional Fourier Transform in the ECG Processing
- The Study on the Identification of the D-axis Transient Open Circuit Time Constant and Its Application
- Analysis and Research on the mechanism of the high and low pressure grenade launcher ballistic work
- The Design of Client Software for Self-contained Turbulence Observation Instrument
- Design and Implementation of Coverage Measurement System on Terrestrial Digital TV
- Research on Controller Software Autotest System
- The Research of Fuzzy Direct Torque Control Based on DSP
- Topology Optimization Design of Wing Scale-Model
- Hybrid Programming for Electromagnetic Modeling and Visualization Based on FDTD Method