Log in

View Full Version : Turbo Debugger symbols messed up


Tramb
September 22nd, 2005, 05:41
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
September 22nd, 2005, 07:02
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
September 22nd, 2005, 08:21
> 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
September 22nd, 2005, 10:49
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
September 22nd, 2005, 20:46
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
September 23rd, 2005, 02:15
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
September 23rd, 2005, 08:25
GoDup plugin in Stuph page: http://ollydbg.win32asmcommunity.net/stuph/GoDup1_2.zip ("http://ollydbg.win32asmcommunity.net/stuph/GoDup1_2.zip")