Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


PDB Files

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
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/

PostPosted: Mon Jun 15, 2009 2:04 pm    Post subject: PDB Files Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
DoomsDay
Grandmaster Cheater
Reputation: 0

Joined: 06 Jan 2007
Posts: 768
Location: %HomePath%

PostPosted: Mon Jun 15, 2009 2:10 pm    Post subject: Reply with quote

Olly retrieves the source files' path from the PDB file if my memory serves me correctly.
Back to top
View user's profile Send private message
haha01haha01
Grandmaster Cheater Supreme
Reputation: 0

Joined: 15 Jun 2007
Posts: 1233
Location: http://www.SaviourFagFails.com/

PostPosted: Tue Jun 16, 2009 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Tue Jun 16, 2009 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites