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 


Memory Management, Windows, doubt.

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

Joined: 26 Nov 2012
Posts: 33
Location: Venezuela

PostPosted: Sat Feb 09, 2013 1:36 am    Post subject: Memory Management, Windows, doubt. Reply with quote

It is assumed that when a program is loaded into memory, has two types of addresses, static and dynamic, I know that there are pointers, who obviously point to these dynamic addresses in order to access them.

The point of my question is: there will always be a pointer for each dynamic address loaded into memory?

I ask this because some time ago, I was trying to cheat a game, and the game had a value that was loaded temporarily and randomly (in a dynamic address obviously), but I could never find his pointer, however, I still think, that address must have a pointer, with which it can be located to be used in the game.

So, am I right? Do all dynamic addresses have one (or more) pointer?...

Thanks in advance.

_________________
Everybody lies.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 383

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

PostPosted: Sat Feb 09, 2013 3:11 am    Post subject: Reply with quote

Yes, the game always needs a way to find the value. Of course, it's not always as easy. Sometimes the variable is inside a linked list and only the first element of the linked list is pointed to by a pointer
Also, sometimes the stack is used to store a base pointer. Which is "semi"-static the lower you go. Next ce version will be able to reference stack addresses as a base

_________________
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
Screitor
Cheater
Reputation: 1

Joined: 26 Nov 2012
Posts: 33
Location: Venezuela

PostPosted: Sat Feb 09, 2013 11:51 am    Post subject: Reply with quote

Awesome, thanks a lot!
_________________
Everybody lies.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
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