Precise error injection for driver testing
US10552190B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jan 16, 2017 |
| Grant date | Feb 4, 2020 |
| Priority date | — |
| Expiry date | May 3, 2038 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2009/45579
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method is provided for verifying functional correctness of a device driver for a controller hardware component being emulated in an emulation environment including a virtual processor. The method includes providing a communication device in the emulation environment. The communication device receives at least one execution condition and an error injection command from a communication device driver associated with the communication device. The controller hardware component executes device operation commands received from the device driver. Based on the communication device determining that the at least one execution condition is fulfilled while the device operation commands are executed, the method provides for the communication device to: halt the operation of the virtual processor; inject an error into the controller hardware component by executing the error injection command; and resume the operation of the virtual processor.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.