SDV reports false DoubleCompletion

Viktor Prutyanov 1 Reputation point

SDV from EWDK for Windows Server 2022 reports DoubleCompletion in a driver.

Report viewer shows that SDV skips branch with if (ActionFlags & 0x1) condition, where ActionFlags is 268435457. But 268435457 & 0x1 is obviously TRUE.
This is the place in the code:
Value 0x1 is actually WdfRequestStopActionSuspend.

SDV doesn't notice WdfRequestStopAcknowledge and mistakenly reports DoubleCompletion rule fail.

Is it possible to fix SDV behaviour?


Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,578 questions
0 comments No comments
{count} votes