Automatic fault injection for driver robustness testing. Cong, K., Lei, L., Yang, Z., & Xie, F. In Proceedings of the 2015 International Symposium on Software Testing and Analysis, pages 361–372.
bibtex   
@InProceedings{cong15automatic,
  author    = {Cong, Kai and Lei, Li and Yang, Zhenkun and Xie, Fei},
  booktitle = {Proceedings of the 2015 International Symposium on Software Testing and Analysis},
  date      = {2015},
  title     = {Automatic fault injection for driver robustness testing},
  pages     = {361--372},
  comment   = {* context: reduce human effort in device driver development
* faults

  * memory allocation
  * pci functions
  * memory mapping and DMA

* automated runtime generation and injection of faults

  * via "bounded trace-based iterative generation"
  * roughly/simplified:

    } # . #obtain #call #graph #from #faul-free #run #{. traverse down the tree, roughly breadth-first style
    #. for the current while traversing, run the driver and inject a
       fault

       * i.e., return a wrong result

* permutation-based replay mechanism to cope with parallelism and
  runtime uncertainty

  * detect permutations from fault-free runs
  * replay/construct permutations during fault injection
  * permutations: different call order, different stack lengths
  * keep track of injected permutations (via flags)

* Linux kernel API calls are hooked (wrapped?) to record and modify
  return codes
* found 28 bugs in 12 Linux device drivers},
  file      = {:cong15automatic - Automatic fault injection for driver robustness testing.pdf:PDF},
  groups    = {fault injection, fault injection tools},
  timestamp = {2020-08-18},
}

Downloads: 0