Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 2  
13 Dec 10 00:10
ntdev member 42522
xxxxxx@hotmail.com
Join Date:
Posts To This List: 1
Adding missing symbols to public symbols

Hi all, I saw Scott's responses below about how to add types to existing public symbols, Title: !sysptes 4 and Windows 2003 R2 32bit Std/Ent URL: http://www.osronline.com/showthread.cfm?link=193747h Title: Is it possible to add missing symbols to public symbols in a windbg debugging session? URL: http://stackoverflow.com/questions/4278146/is-it-possible-to-add-missing-symbols- to-public-symbols-in-a-windbg-debugging-ses So I added some types(e.g. _IMAGE_DOS_HEADER) to existing ntdll.pdb using Scott's way,however,I got the following error messages: ------------------------------------------------------------------- ntdll.c ntdll.c(4): error C2011: '_IMAGE_DOS_HEADER' : 'struct' type redefinition ntdll.c(32): error C2011: '_IMAGE_FILE_HEADER' : 'struct' type redefinition ... ------------------------------------------------------------------- I know " _IMAGE_DOS_HEADER: 'struct' type redefinition" means '_IMAGE_DOS_HEADER' has been defined, However, I still got the following error message (it means '_IMAGE_DOS_HEADER' doesn't exist. ) when I am trying to see the IMAGE_DOS_HEADER structure using the 'dt' command ------------------------------------------------------------------- 0:000> dt _image_dos_header Symbol _image_dos_header not found. ------------------------------------------------------------------- If anyone know how to solve the problem, please tell me know. thanks. Best regards, Matt --
  Message 2 of 2  
13 Dec 10 00:26
Ken Johnson
xxxxxx@valhallalegends.com
Join Date: 24 Jul 2008
Posts To This List: 1022
Adding missing symbols to public symbols

If you don't successfully compile your c file, nothing will get injected into the pdb. Fix your source file so that it compiles correctly. - S From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of zMatthew Sent: Sunday, December 12, 2010 9:10 PM To: Windows System Software Devs Interest List Subject: [ntdev] Adding missing symbols to public symbols Hi all, I saw Scott's responses below about how to add types to existing public symbols, Title: !sysptes 4 and Windows 2003 R2 32bit Std/Ent URL: http://www.osronline.com/showthread.cfm?link=193747h Title: Is it possible to add missing symbols to public symbols in a windbg debugging session? URL: http://stackoverflow.com/questions/4278146/is-it-possible-to-add-missing-symbols- to-public-symbols-in-a-windbg-debugging-ses So I added some types(e.g. _IMAGE_DOS_HEADER) to existing ntdll.pdb using Scott's way,however,I got the following error messages: ------------------------------------------------------------------- ntdll.c ntdll.c(4): error C2011: '_IMAGE_DOS_HEADER' : 'struct' type redefinition ntdll.c(32): error C2011: '_IMAGE_FILE_HEADER' : 'struct' type redefinition ... ------------------------------------------------------------------- I know " _IMAGE_DOS_HEADER: 'struct' type redefinition" means '_IMAGE_DOS_HEADER ' has been defined, However, I still got the following error message (it means '_IMAGE_DOS_HEADER' doesn't exist. ) when I am trying to see the IMAGE_DOS_HEADER structure using the 'dt' command ------------------------------------------------------------------- 0:000> dt _image_dos_header Symbol _image_dos_header not found. ------------------------------------------------------------------- If anyone know how to solve the problem, please tell me know. thanks. Best regards, Matt --- NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer --
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 05:36.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license