| View previous topic :: View next topic |
| Author |
Message |
haha01haha01 Grandmaster Cheater Supreme
Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Mon Jun 15, 2009 2:04 pm Post subject: PDB Files |
|
|
I have a question. If i got a debug-mode compiled C++ application, and i have the PDB file generated with it, can i decompile the source code? I remember ollydbg used to be able to do that, but now it just shows me the names of the source files and claims the source code is "Absent". Is there any way to do it?
Also, if this is the wrong section for this, move it please.
|
|
| Back to top |
|
 |
DoomsDay Grandmaster Cheater
Reputation: 0
Joined: 06 Jan 2007 Posts: 768 Location: %HomePath%
|
Posted: Mon Jun 15, 2009 2:10 pm Post subject: |
|
|
| Olly retrieves the source files' path from the PDB file if my memory serves me correctly.
|
|
| Back to top |
|
 |
haha01haha01 Grandmaster Cheater Supreme
Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Tue Jun 16, 2009 2:04 am Post subject: |
|
|
| DoomsDay wrote: | | Olly retrieves the source files' path from the PDB file if my memory serves me correctly. | Yes, it does. but is there any way to retrieve the source itself? olly replaces all calls and variables with their actual names and can even tell me on what line in the source code am i stepping, which makes me think its not that hard to get the actual source.
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Tue Jun 16, 2009 12:23 pm Post subject: |
|
|
All of that information is compiled into the PDB file, and if OllyDbg/The debugger can obtain the source files then it also allows you to view the source file, else it wont let you. Try it on OllyDbg, you'll see. It'l tell you what file and what line, but not actually let you view the source if the file doesn't exist.
_________________
|
|
| Back to top |
|
 |
|