Research and Design on General Purpose Fault Injection Model Based on Windows API
- Author
- LiLei
- Advisor
- XieDongQing , WangRuLong
- School
- Hunan University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 65
- Citations
- 0
Abstract
As the usage of PC platform widens a lot today, general purpose software on PC platform is getting more and more complicated. The causes of software’s fault are mainly software itself. Software system also requires dependability. But traditional fault injection thoughts often focus on accurate bit-level faults, depending on powerful hardware platform. On PC platform, things are limited by economy factors, and the hardware itself cannot provide fault-free environment. So, it is only assumed that hardware is fault-free when designing software, but not assured. That is the key difference.This paper pointed out the limitations of traditional fault injection techniques. Traditional fault injection techniques depend on fault-tolerant platform, but PC platform lack such advanced fault-tolerant features, or the cost is too high.This paper advanced a runtime fault injection model to test windows applications on PC platform, using the fault injection theory. The key point of injection is focused on runtime environment factors. The model defined different fault types of memory, network, disk and registry. Faults that appear often in real environments are chosen using pattern-based fault injection strategy. This model can meet the requirements of fault injection purpose for windows application.Secondly, this paper analyzed the implementation technique of such a model. We can define an imposter function to intercept system calls from application under test, using Windows API. The intercepted calls are passed to the imposter function, then return back to the application.At last, detailed function design of the runtime fault injection model was given out. The functionality model was described by scenarios. Iterative methods was used to design the interfaces, including return codes.
Table of contents
Abstract 7-8
ABSTRACT 8-9
the
illustration index 9-10
the
Schedule index 10-11
Chapter 1 Introduction 11-23
1.1 defects implanted Technical Overview 11-12
1.2 defects implanted Technology Research 12-16
1.2.1 hardware-based defects implanted 13-14
1.2.2 based software defect implanted 14-15
1.2.3 hardware and software defects implantation method Contrastive 15-16
1.3 defects in the composition of the implant technology environment 16-17
1.4 key instruments available 17-21
1.4.1 hardware defects implanted tools 17-19
1.4.2 software defects implanted tools 19-21
1.5 This paper 21-23
Chapter 2 defects implanted analysis 23-31
2.1 defects implanted target 23-25
2.1.1 idealized system 23-24
2.1.2 actual 24-25
2.2 the traditional common software limitations 25-29
2.2.1 daily general-purpose software 25-27
2.2.2 realistic run defects trigger 27-28
2.2.3 defects implanted thought logic 28-29
2.3 running defects implanted feasibility 29-30
2.4 Summary 30-31
Chapter 3 runtime defects implanted model Design 31-38
3.1 running defects implanted mechanism 31-33
3.2 defects Select 33-34
3.3 running defects implanted model 34-36
3.3.1 memory defects 34-35
3.3.2 network defects 35-36
3.3.3 other defects 36
3.4 Summary 36-38
Chapter 4 runtime defects implantation model to achieve 38-47
4.1 technology selection 38-41
4.1.1 Windows API technical analysis 38-40
4.1.2 hook (hook) Technical Analysis 40-41
the defect implanted under 4.2 Windows environment to achieve principle 41-42
the defects implanted
4.3 running model architecture 42-44
4.4 compared with automated testing tools 44-46
4.5 Summary 46-47
Chapter 5 defective implant tools to achieve 47-64
5.1 module design 47-55
5.1.1 defect select 47-52
5.1.2 uses XML to define defects 52-55
5.2 defects implant tools defined 55-57
5.3 function prototype 57-59
5.4 program examples and experimental results 59-63
5.4.1 sample program 59-61
5.4.2 Experimental results 61-63
5.5 Summary 63-64
concluded 64-66
the
References 66-70
Acknowledgements 70-71
Appendix A degree completed during the academic 71-72
the
Appendix B degree during participation in the completion of the project 72
Related dissertations
- Aerospace Embedded modern small satellite software fault-tolerant design and test systems
- Research on Embedded System Testing Based on Fault Injection
- Security testing techniques based on the specifications of the components
- Research on Self-optimization Method of System Depen-Dability Based on Autonomic Computing
- 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
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
- A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases