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

Request the full text

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

  1. Aerospace Embedded modern small satellite software fault-tolerant design and test systems
  2. Research on Embedded System Testing Based on Fault Injection
    XuXiaoLu ·Zhejiang University ·2008 ·Master's thesis
  3. Security testing techniques based on the specifications of the components
  4. Research on Self-optimization Method of System Depen-Dability Based on Autonomic Computing
  5. And the realization of software testing reuse management subsystem design
  6. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  7. Research on software testing technology based on complex network theory
  8. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  9. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  10. Research of Software Testing Method Based on Cloud Computing
  11. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  12. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  13. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  14. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  15. The Design and Implementation of Banking Software Testing Based on Bugfree
  16. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  17. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  18. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  19. Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
  20. A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
    FengLuLu ·Zhejiang Sci-Tech University ·2014 ·Master's thesis