Windows-rust-driver-samples icon indicating copy to clipboard operation
Windows-rust-driver-samples copied to clipboard

feat: Add sample Fail Driver with IRQL violation

Open svasista-ms opened this issue 1 year ago • 0 comments

This sample driver makes an illegal call to KeEnterCriticalRegion in its evt_device_d0_exit which violates the IrqlKeApcLte2 rule.

When Driver Verifier is enabled for this fail driver, the fault can be caught by removing a device managed by this driver using pnputil

svasista-ms avatar Sep 26 '24 16:09 svasista-ms