Windows Driver Kit: Driver Development Tools
Device Path Exerciser
Device Path Exerciser (dc2.exe) is a command-line tool that tests the reliability and security of drivers. It calls drivers through a variety of user-mode I/O interfaces with valid, invalid, meaningless, and poorly-formatted buffers and data that will crash the driver if not managed correctly. These tests can reveal improper driver design or implementation that might result in system crashes or make the system vulnerable to malicious attacks.
Device Path Exerciser is a component of the Microsoft Windows Driver Kit. The WDK includes the tests that are required to participate in the Microsoft Windows Logo Program for Hardware. (For more information, see the
Windows Hardware Quality Labs Web site.) Device Path Exerciser is included in the Windows Driver Kit (WDK) so that you can run it during driver development and internal testing to assess the quality of a driver.
The Device Path Exerciser (dc2.exe) is an improved version of the Device Path Exerciser (devctl.exe) that was included in previous versions of the Driver Development Kit (DDK). This version includes new logs that make the output easier to interpret.
This version of Device Path Exerciser also includes Active Control Test, a customized test based on the control codes that the driver actually uses, resulting in a more thorough and realistic test of its error code paths.
This section includes: