The Application of Evolutionary Testing to Nested Branch Structure of Assembly Language in Embedded Software
- Author
- ZhangHuaWei
- Advisor
- LiuXiYang
- School
- Xi'an University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 3
- Citations
- 0
Abstract
Evolutionary testing is an emerging technology for automatic test data generation, which has been successfully applied in practice. It reformulates the test data generation problem into an evolutionary search under the guidance of a fitness function, a well-designed fitness function is crucial to the efficiency and effectiveness of evolutionary search. Therefore, the fitness function plays a very important role in evolutionary testing recently.In the application of evolutionary testing based on assembly language in embedded Software, the first problem faced is the program instrumentation, comparing to the high-level language, the assembly language have many different ways of addressing mode, therefore, the program instrumentation is much more difficult. This paper proposes an approach to solve this problem. Meanwhile, because the branch structure is the main structure of assembly language and the nested branch is the most complicate, therefore, we will focus on the fitness function calculation in the application of evolutionary testing based on nested branch structure of assembly language in embedded software. There are three methods in the calculation of fitness function, which are based on traditional method, the approximation level and the approximation level. The traditional method of fitness function design focuses on the approximation level, and can’t effectively evaluate the data of internal branch, On the other hand, the method focus on the branch distances just concentrates the distance of branch and ignores the approximation level; but the method of fitness function based on the optimism level solves the problem above and makes the evolutionary search much more efficiency and effectiveness.Experimental results show that the fitness functions with the method based on optimism level can effectively improve effectiveness of evolution search.
Table of contents
Summary 3-4
Abstract 4-7
first chapter 7-13
1.1 Background 7-8 < br /> 1.2 research status 8-10
1.3 evolutionary test tool framework 10-11
1.4 thesis problem 11-12
the 1.5 paper work and content arrangements 12-13
Chapter II embedded assembler code into the technology and the evolution of test technology 13-23
2.1 embedded software testing methods 13-14
2.2 the code implanted nbsp technologies; 14-16
2.2.1 Static implantation of technology 14-15
2.2.2 Dynamic planting into the technology 15-16
2.3 evolutionary testing evolution tests the basic concepts are found in 16-18
2.4; 18-20
2.5 for branch coverage test applicable value function formula 20-23
Chapter based embedded assembly code implant technology 23-33
3.1 embedded code into assembly code 23-28
3.1.1 MCS-51 addressing modes embedded assembler 23-26
3.1.2 code implanted 26-27
the 3.1.3 code transform implanted problem 27-28
3.2 solution 28
3.3 specific code implant technology to achieve 28-30 <br / ,> 3.3.1 code implanted achieve 29
3.3.2 the code transformation implanted achieve 29-30
3.4 Chapter Summary 30-33 <br / > Chapter fitness function based on the application of the compilation of nested branch structure 33-45
4.1 calculation method based on the traditional fitness function 33-36
4.1.1 the traditional fitness value calculation method to achieve nbsp 33-35
4.1.2 problems; the 35-36
4.2 fitness function based on branch distance of nested branch structure calculation methods 36-39
4.2.1 implemented based on the appropriate value of the accumulated branch distance 36-37
4.2.2 Problems 37-39
4.3 based branch optimism appropriate value calculated 39-43
4.3.1 branch optimism coincided achieve 39-42
4.3.2 branch optimism coincided computational advantages are found; 42-43
4.4 Chapter Summary 43-45
Chapter experimental verification and analysis 45-49
the 5.1 experimental environment 45 <br / > nbsp 5.2 evolutionary search process; 45-46
5.3 Experimental validation the 5.3.1 experimental code selection 46-48
46
5.3.2 Experimental results. and Analysis 46-48
5.4 Chapter Summary 48-49
Chapter VI Conclusion the 49-51
6.1 summarizes 49 < br /> 6.2 further work 49-51
Acknowledgements to References 51-53
53-57
authors read during research 57
Related dissertations
- Research on Test Data Automatic Generation
- Research of Test Data Generation Based on Evolutionary Testing
- Fitness Function Design for Branch Exertion in Evolutionary Testing
- The Intrusion Detection System Research Based on Adaptive Genetic Algorithm
- Evolution method in image processing
- Research on image matching degree function search strategies and adaptation
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage