Category Archives: Development Basics

Another Step to Kernel String Safety

Over roughly the last decade Microsoft has made a lot of effort on providing Safe String functions and requiring their use.  Unfortunately, there is at least one hole in this effort that some of us pointed out years ago, that is still there, namely the functions RtlInitAnsiString, RtlInitString and RtlInitUnicodeString.  The functions take a NULL […]

Continue Reading

Build Drivers from the Command Line

There are a lot of reasons to be able to build drivers from the command line.  Many release engineering teams want to have automated nightly builds, and there are plenty of other uses for the capability. Recently I encountered more than one experienced Windows driver developer who complained that what they dislike about the Visual […]

Continue Reading

WDK Installation Tips

Updated for the Windows 10 Enterprise WDK. I was recently loading up a test machine with the various Window Driver Kits (WDKs) so I could test some tools I have been working on.  Even for someone who has been developing Windows drivers for a long time, the idiosyncrasies of the various kits and installing them […]

Continue Reading