HOWTO: Remove Symbols from Device DriversID: Q128372
|
When device drivers are built on Windows NT, the driver binary contains debugging symbols. These symbols are present even when the driver has been built in the "free" environment. The procedure in this article shows you how to remove the symbols from the device driver binary.
NOTE: This same procedure can also be used to reset the driver checksum if it is invalid.
-----------------------------------------------------------
Microsoft (R) COFF Binary File Dumper Version 2.50
Copyright (C) Microsoft Corp 1992-94. All rights reserved.
Dump of file driver.sys
NT signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
14C machine (i386)
6 number of sections
2F295879 time date stamp Fri Jan 27 12:32:57 1995
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
102 characteristics
Executable
32 bit word machine
OPTIONAL HEADER VALUES
10B magic #
2.50 linker version
33C0 size of code
1500 size of initialized data
0 size of uninitialized data
280 address of entry point
280 base of code
3640 base of data
----- new -----
10000 image base
... Additional information deleted ...
-----------------------------------------------------------
Checked Free
----------------
Original file size: 49728 15392
After REBASE: 30816 9488
Windows NT DDK: Building Windows NT device drivers
Additional query words: checksum debug
Keywords : NTDDKDebug NTDDKKMode
Version : WINNT:3.5,3.51;
Platform : winnt
Issue type : kbhowto
Last Reviewed: March 3, 1999