View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
Table of Contents |
---|
Introduction
This document introduces the tools used to test Windows Kernel Drivers. These are not functional tests, these tools know nothing about the intended function of the driver, they test its fitness from a Windows perspective.
...
Driver Verifier. Built into Windows
WinDbg
DbgView
Device Path Exerciser
WHQL (including Device Path Exerciser)
...
Traces are again dependant on the settings on the Target
Device Path Exerciser:
Device path exerciser is a tool that stress tests a driver, in our case, we will use it on the IOCTL handler as that is the only interface the driver has. It is available from the 7600 DDK, the last pre Visual Studio one, as a standalone exe. The x86 build runs ok on ARM64, as it has WoW functionality, a kind of VM.
Run devpathexer
...
On the next page set these values:
...
Then select all IOCTL tests on the next
...
After that accept the default logging and start the test.
Ideally have the test machine on WinDbg, so any BSODs can be picked up immediately.
Device path exerciser and this configuration, DevPathExerConfig.XML run devpathexer /cfg, are attached
WHQL:
WHQL is an immense subject, with a varied and complex setup involving Windows Server machines, and various clients in many configurations depending on the kind of driver being tested
...