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 


please help..~

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
kot1990
Expert Cheater
Reputation: 1

Joined: 06 Sep 2009
Posts: 131
Location: Greece

PostPosted: Tue May 04, 2010 3:00 pm    Post subject: please help..~ Reply with quote

I am looking at the structure of an executable. I opened notepad.exe 66,5 KB (68.096 bytes) and it loads in memory. I then extract the notepad.exe from the memory and the output file is 80,0 KB (81.920 bytes). Why the size is not the same as the initial file in memory? What's happening when a program is loaded?? Also, the new file 80,0 KB has no icon. That means that the structure of the file is incorrect and of course the new exe doesn't run.

EDIT: It would be also nice if you give me a link for a good tutorial about executable files, about their types and how do they load into memory.
Back to top
View user's profile Send private message
Deltron Z
Expert Cheater
Reputation: 1

Joined: 14 Jun 2009
Posts: 164

PostPosted: Tue May 04, 2010 5:13 pm    Post subject: Reply with quote

Using OllyDump I get the same by unchecking "Fix Raw Size & Offset of Dump Image". I haven't messed with this kind of stuff for a while now, but if I'm not mistaken it fixes the position of the data (and it's size) in the file. if you don't do this, I guess OllyDump will use other values specified in the file, process' memory or calculated in some other way. or maybe it just prevent from the original values from being changed... I'd also like someone to explain further about this.
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