Log in

View Full Version : injecting debug symbols back into images


Diodato
April 25th, 2001, 18:27
There are tools to strip debug information from images, extract them etc.
But has anyone come accross any tool that basing on a MAP or SYM file can inject such debug symbols back into images?

CrackZ
April 26th, 2001, 16:05
Hiya,

With the greatest of respect and maybe I am missing something ;-), but what exactly would be the point in doing this?.

If you are interested solely in the theory or structure of 'debug information' I would think it better to approach the problem from the other side first.

Regards

CrackZ.

Diodato
April 26th, 2001, 16:34
There are some quite interesting programs that help during sftwre development phase. Allow me not to mention their names. And they are used on the compiled executables. Independantly if the executable has or not the debug information. But having the debug symbols eases life quite a bit in refferencing. With IDA you can apply appropiate signatures to identify static libraries, assign names etc. Produce the MAP and incorporate that back into the executable as debug info (either as new or augmenting the existant one). And that's basically what I want to do.
But of course beeing a lazy one, I wanted first to find out if any such tools have been already developed before starting to implement my own to introduce debug symbols in images.

tsehp
April 26th, 2001, 17:30
I just published on what new page the new mostek's ida plugin, but you will only reinject debug info into sice as an nms file, maybe this could help you

tom
April 27th, 2001, 02:37
Is there a way to convert NMS file into Microsoft program debug database file (pdb) ?

Tom

PS. I am just another lazy programmer who would like to use this interesting tool for
reverse engineering purpose

Diodato
April 27th, 2001, 05:33
+Tsehp,

Seems the ida2size_002.rar file is corrupt. Can you verify that, and if so replace it?

My ultimate goal is to write an ida plugin to do the task of injecting the debug information back into the image. But I'll start first with the MAP or SYM.

About the pdb files - I am unable to find any documentation of it's file format. Guess M$ is again keeping the specifications to itself.