PDA

View Full Version : Turbo Debugger symbols messed up


Tramb
09-22-2005, 06:41 AM
Hello everybody,

I try to debug an optimized (hum!) Delphi 5 application, but OllyDbg completely messes the Turbo Debugger format symbols.
Yet VTune gets them right!

If somebody can help me, I'd be very grateful!

Thanks,
Bertrand

blabberer
09-22-2005, 08:02 AM
completely messes it up means what it does ?? labels them wrong ??
doesnt load ??
can you post a small comparison snippet between two ??
have you tried to find what may cause it ?? atleast give us some pointers on your research ?? so that we can atleast think of what might be the problem ??

doesnt work (i would say it works like it is supposed to work only you cant decipher how it worked maybe ?? )

Tramb
09-22-2005, 09:21 AM
> I'll check manually the link map to see if there is a constant offset or if it is > more complicated.

There is no simple linear transformation between the symbols in OllyDbg and those in the link map...

blabberer
09-22-2005, 11:49 AM
may be a stupid question but are you using some plugins like mapconv or godup to load the map ??
if yes are you applying it to the right module ??
maps are addressed some thing like this
0001:001234 blah@##
so ifyou apply itto base address 0x780000 it will be labelled at
781234
if you apply it to 0x400000 it will be labelled at 401234

TQN
09-22-2005, 09:46 PM
Yes, oh me anon. We can create a detail map file from Delphi IDE, and import to OllyDbg it with some plugins.
As I known, IDA v4.9 will support TDS file.

Tramb
09-23-2005, 03:15 AM
I have trouble with the debug info embedded in the .EXE, in fact...
Maybe I can try importing the delphi .map file with the appropriate plugin to see if the result are more accurate.
I'll try googling for this (unless TQN posts a link? ;-) )

Cheers

TQN
09-23-2005, 09:25 AM
GoDup plugin in Stuph page: http://ollydbg.win32asmcommunity.net/stuph/GoDup1_2.zip