Hi,
I tried to run “Static Driver Verifier” when building my driver.
Here are the commands I used:
- staticdv /scan
- A. staticdv /rules:*
B. staticdv /config:C:\WinDDK\6000\tools\sdv\samples\rule_sets\wdm\BusDrivers.sdv
On both 2.A & 2.B running’s I got the following windows
****************************************
slamcl_writer.exe - Application Error
The exception unknown software exception (0xc00000fd) occurred in the application at location 0x0044bef5
Click OK/CANCEL…
****************************************
BTW: 0xc00000fd is STATUS_STACK_OVERFLOW
I got this (same) message twice during compilation. here is the output windows of the SDV build process:
****************************************
Microsoft (R) Windows (R) Static Driver Verifier Version 1.4.251.0
Copyright (C) Microsoft Corporation. All rights reserved.
Warning: A driver (or a library) will be processed in the CHK build environment.
Build ‘my_drv’ …Done
Scan ‘my_drv’ …Done
Warning ‘my_drv’ No entry points have been approved in SDV-map.h for this driver.
Warning: Static Driver Verifier will ignore the DDBG=1 and DDEBUG flags. Any code that is within #if DBG==1 or #ifdef DEBUG …#endif section will be ignored by our compilation.
Library not processed: uuid.lib. The library could not be included in the verification.
Static Driver Verifier will run without these libraries.
To process the library, run a “staticdv /lib” command in the library’s source folder.
The Static Driver Verifier compile step failed.
****************************************
I’ve opened the file <my_drv_path>\SDV\check\adddevice\compile.txt
The size of the file is ~108KB 1042 lines
I see there a lot of warnings such as:
"slamcl Warning: Procedure __SAL_ValidCompNameA already defined. Ignoring later definition "
I’ve seen following errors in the file
translate’ {
slamcl_writer: 0
slamcl: error: slamcl_writer cmd for my_drv_path/objchk_wnet_x86/i386/debug failed with -1073741571
slamcl translate my_drv_path/objchk_wnet_x86/i386/debug }
slamcl slamcl }
slamcl: unexpected exception: at phase 1: Slamcl.CFrontEndError
slamcl slamcl {
slamcl slamcl: invoked with args ['/DSDV -ISDV\scan -IC:\WinDDK\6000\tools\sdv\osmodel\wdm /FIC:\WinDDK\6000
I did visit “Static Driver Verifier (SDV) Facts” page in http://www.microsoft.com/whdc/devtools/tools/sdv_facts.mspx
and found no help
more than that, I do compile it on a machine the complied with all system requirments (XP SP2 1.8Ghz dual core, 1GB physical memory)
I put here a lot of information, Hope that someone can provide me help with it</my_drv_path>