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 


why some codes in DLL files are changed when loaded

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
supercharger
Advanced Cheater
Reputation: 0

Joined: 06 Aug 2009
Posts: 61

PostPosted: Sun Apr 03, 2011 10:03 am    Post subject: why some codes in DLL files are changed when loaded Reply with quote

i've seen a lot of cases where some codes (addresses) are changed when loaded, such as
ab cd 07 10 -> ab cd 8c 03

meaning , in dll file , the address is 1007cdab
in runtime, the address is 038ccdab

i know they are meant to be changed, but i wonder what tells the program to change the specific code 1007 into 038c.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25831
Location: The netherlands

PostPosted: Sun Apr 03, 2011 10:21 am    Post subject: Reply with quote

the relocation table defines that
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
supercharger
Advanced Cheater
Reputation: 0

Joined: 06 Aug 2009
Posts: 61

PostPosted: Sun Apr 03, 2011 10:15 pm    Post subject: Reply with quote

thanks. i found some documentation about the reloc table.
but i still don't know - if i want to cancel the reloc of a specific location, such as 0x1234, how should i modify the data 0x3234 in the reloc table?
can i totally cancel it without affecting the whole reloc table? such as changing 0x3234 into 0x0000 ?
and can the reloc data be out of numerical order? such as changing 3234 3256 into 3256 3234 ? and can i change it into 3256 3256 ?
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