Jump-start your project by learning from devs who
write Windows drivers and file systems every day.
Take an OSR seminar!

OSR is Hiring! Click here to find out more.

Upcoming OSR Seminars:
Writing WDF Drivers for Windows Lab, Palo Alto, CA 28 April-2 May, 2014
Advanced WDF Driver Lab, Palo Alto, CA 5-8 May, 2014
Developing File Systems for Windows, Boston/Waltham, MA 13-16 May, 2014
Windows Internals & Software Drivers Lab, Dulles/Sterling, VA, CA 23-27 June, 2014


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
matthew zhao
xxxxxx@hotmail.com
Join Date: 15 Apr 2009
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: 988
RE: 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 01:48.


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