PDA

View Full Version : How to generate a pdb file


decameron
06-28-2006, 01:23 AM
Supposedly you figure out some of the code functions of a PE file (exe, dll etc) and now you want to be able to debug with symbols/sources (yours).
Is there any way you can build a fake pdb file that can be loaded by the IDE and shown the right symbols/sources at the right address?
I guess let say you get around the time stamp and CRC on the PE file, now how to tell C++ compiler/linker that x function must be linked at 0x… address. Remember this is not asm and I don’t know any #pragma for the address. I might be wrong but some compilers accept #pragma ADDRESS?

Saluto
Decameron