focht
May 2nd, 2004, 09:30
Greetings,
i have some annotations/requests regarding ollydbg's use of symbol files (.pdb, .dbg) with operating system binaries.
Ollydbg seems to load both, the (older) imagehlp.dll and newer versions of dbghelp.dll (in start directory) to fetch symbolic information.
I assume "set symbols path" option in ollydbg corresponds with appropriate "SymSetSearchPath" or "SymInitialize" stuff.
This doesnt work at all if i feed my symbol store to ollydbg.
Even with latest dbghelp.dll in ollydbg directory (from "debugging tools for windows"
it is not clear to me how and when symbolic information is used.
In fact i can't see much use (no dbghelp API getting initialized) in ollydbg.
I wrote a simple console program (proof of concept) which loads "dbghelp.dll" and initializes the debug symbol API using "SymInitialize".
I can see the symbol server dll loaded and the dynamic symbol file fetch mechanism works.
I would like to gain more information from ollydbg when specific symbols for a module are correctly loaded and when not.
Like the VS.NET 200X "modules" list where is a column "symbols" which displays the state.
Or like windbg's commandline output.
There is even an "reload symbols" option which i would like to see too.
Additionally i would like to customize symbol options before the symbol load process with "SymSetOptions"-like dialog:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug /base/symsetoptions.asp
("http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/symsetoptions.asp
")
The showstopper is the use of the new "symbol server" technology.
I mainly use VS.NET 2003 for source level debugging which is able to fetch symbols for every binary on demand (if available).
No more need to download symbol files separately/for each service pack.
I can even remotely debug another system which is different to my host system and symbol server will fetch debug symbols for the remote system, allowing me to see "informational" callstacks.
Symbol server tech:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug /base/symbol_servers_and_symbol_stores.asp
("http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/symbol_servers_and_symbol_stores.asp
")
The debugging symbols interface of ollydbg could be polished up a bit (more user friendly, more information).
Support of symbol server would improve usability much.
Regards,
A. Focht
i have some annotations/requests regarding ollydbg's use of symbol files (.pdb, .dbg) with operating system binaries.
Ollydbg seems to load both, the (older) imagehlp.dll and newer versions of dbghelp.dll (in start directory) to fetch symbolic information.
I assume "set symbols path" option in ollydbg corresponds with appropriate "SymSetSearchPath" or "SymInitialize" stuff.
This doesnt work at all if i feed my symbol store to ollydbg.
Even with latest dbghelp.dll in ollydbg directory (from "debugging tools for windows"

In fact i can't see much use (no dbghelp API getting initialized) in ollydbg.
I wrote a simple console program (proof of concept) which loads "dbghelp.dll" and initializes the debug symbol API using "SymInitialize".
I can see the symbol server dll loaded and the dynamic symbol file fetch mechanism works.
I would like to gain more information from ollydbg when specific symbols for a module are correctly loaded and when not.
Like the VS.NET 200X "modules" list where is a column "symbols" which displays the state.
Or like windbg's commandline output.
There is even an "reload symbols" option which i would like to see too.
Additionally i would like to customize symbol options before the symbol load process with "SymSetOptions"-like dialog:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug /base/symsetoptions.asp
("http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/symsetoptions.asp
")
The showstopper is the use of the new "symbol server" technology.
I mainly use VS.NET 2003 for source level debugging which is able to fetch symbols for every binary on demand (if available).
No more need to download symbol files separately/for each service pack.
I can even remotely debug another system which is different to my host system and symbol server will fetch debug symbols for the remote system, allowing me to see "informational" callstacks.
Symbol server tech:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug /base/symbol_servers_and_symbol_stores.asp
("http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/symbol_servers_and_symbol_stores.asp
")
The debugging symbols interface of ollydbg could be polished up a bit (more user friendly, more information).
Support of symbol server would improve usability much.
Regards,
A. Focht