Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Sept/Oct 2019 Issue of The NT Insider available

Download PDF here:

It’s a particularly BIG issue, too: 40 pages of technical goodness, ranging from WDF to Minifilters. Check it out.
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Retpoline compiled driver always shows FALSE flag in MS portal

MathanMathan Member Posts: 2

We have compiled WDF KMDF Universal drivers by enabling /Qspectre flag. We tested the driver on Win10 RS5 64-bit client operating system using WHQL.

The client PC is up-to date with windows updates; The 'Get-SpeculationControlSettings' returns 'BTIKernelRetpolineEnabled' as 'TRUE'.
Since all the WHQL tests passed, we tried to submit logs for Microsoft signature.

Microsoft's Hardware Dev Center still does not mark the "Retpoline Compiled" as true.
Is there any tool or utility to check if a driver sys file is compiled with /Qspectre flag ?

Microsoft says they will be testing every binary that passes through their portal to check whether or not it was compiled with the Retpoline flag. How do they check for this flag ? Why is the flag still not set for our sys file even if we compiled with /Qspectre?

We have used the latest "EWDK for Windows 10, version 1903" to build our drivers.

Thanks & Regards,


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 21 Oct 2019 OSR Seminar Space & ONLINE
Internals & Software Drivers 18 Nov 2019 Dulles, VA
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 27 Apr 2020 OSR Seminar Space & ONLINE