PDA

View Full Version : Borland map file importer plugin


casterle
September 12th, 2004, 15:19
Here's an OllyDbg plugin that will import Borland map files. Source included.

Based on MapConv 1.4 by godfather+.

www.geocities.com/BusinessAsUnusual\BorlandMapImporter.zip ("http://www.geocities.com/BusinessAsUnusual\BorlandMapImporter.zip")

KSA
September 12th, 2004, 23:13
Page Not Found

casterle
September 13th, 2004, 06:17
Please try again. I am having no problem downloading it.

blabberer
September 13th, 2004, 06:29
yeah me too i can get it
btw you could have compiled along with a map so that it would have been easier to test it or with debug info so that source could also be viewed


All names, item 37
Address=007812C4 BorlandM
Section=.text
Type=Library (Known)
Name=DllEntryPoint
Comment=Object module 'E:\Work\Leroy\Olly\BorlandMapImporter\Src\Main.c'

and size issue is a matter only if the .tds file crosses 32 mb it seems iirc you said it was 20 odd mb so

casterle
September 13th, 2004, 12:30
> btw you could have compiled along with a map so that it
> would have been easier to test it or with debug info so
> that source could also be viewed

Bitch, bitch, bitch. Not that it does you much good since I didn't send along the .map and .tds files, but it is compiled with debug info.

I've uploaded another copy of the .dll (to make sure it matches the debug files) as well as the .map and .tds files. Enjoy.

http://www.geocities.com/BusinessAsUnusual/BorlandMapImporterDebugInfo .zip
("http://www.geocities.com/BusinessAsUnusual/BorlandMapImporterDebugInfo.zip
")

The size issue you mention is a totally different issue. The problem was that the Borland linker would throw an exception when the project got too large and/or tried to generate a .tds file larger than 32MB. The BCB6 linker seemed to solve this problem (until the project grew a bit more). Borland released an updated linker a couple of months ago that seems to solve the problem entirely.

I was speculating that Olly was perhaps having a problem with the size or symbol count in the .tds file, not that the .tds file was malformed due to the linker problem.

casterle
September 13th, 2004, 16:01
I had a problem in my lexer that mangled some symbols. New version uploaded:

www.geocities.com/BusinessAsUnusual\BorlandMapImporter.zip
("http://www.geocities.com/BusinessAsUnusual\BorlandMapImporter.zip
")

Debug symbols (for oh me anon<g>.

www.geocities.com/BusinessAsUnusual&#92;BorlandMapImporterDebugInfo.zip ("http://www.geocities.com/BusinessAsUnusual&#92;BorlandMapImporterDebugInfo.zip")

blabberer
September 14th, 2004, 02:24
Bitch, bitch, bitch

well some more
Source files, item 0
Module=BorlandM
Source=(Absent)
Source path=E:&#92;Work&#92;Leroy&#92;Olly&#92;BorlandMapImporter&#92;Src&#92;Main.c



no i cant see your source either with ctrl+f5 or view source file

have fun

ps yes it says it added 713 labels and 713 comments (coincidence ?)
but if i try to find user defined labels or user defined comments they turn out to be nil
have some more fun

and some more ps
i saw it saying borland blah was avl in log yesterday too thats why i asked fro .tds and .map not to bitch

casterle
September 16th, 2004, 19:51
Unless you rebuild the project, it will look for source files in MY directory structure rather than yours (the paths are hard-coded in the binaries). If you create a directory structure identical to mine (that is, create E:&#92;Work&#92;Leroy&#92;Olly|BorlandMapImporter&#92;Src and copy the source files to that directory), the source should be found properly.

> ps yes it says it added 713 labels and 713 comments > (coincidence ?)

If it imports 713 labels, it should import 713 comments, nothing coincidental about it. When you import labels, you're updating the symbol table. When you import comments, you're importing the same symbols, but adding them as comments rather than updating the symbol table. This wasn't clear to me at first.

> but if i try to find user defined labels or user defined comments
> they turn out to be nil have some more fun

Are you saying that the symbols aren't imported correctly? They work find on my system (yeah, yeah - heard that before) using Olly 1.10.

> saw it saying borland blah was avl in log yesterday too

I'm not following you here. What do you mean?

> thats why i asked fro .tds and .map not to bitch

Yes, sorry, 'bitch, bitch, bitch' is an American idiom. Meant to be humorous.

emb
September 16th, 2004, 21:57
I can not login the Web,please send me one .

zhangyun_dx@hotmail.com
Thanks a lot!

casterle
September 17th, 2004, 10:47
emb, it's on its way.