View previous topic :: View next topic |
Author |
Message |
M.CORP Grandmaster Cheater Supreme
Reputation: 28
Joined: 28 Oct 2009 Posts: 1010
|
Posted: Mon Dec 20, 2010 5:07 pm Post subject: Pointers? |
|
|
I've done pointers on C++ for a while but i've never got the idea of it.
Could you please explain Pointers to me?
What they do... Although i know that it points to an address on the memory but i don't really get it. _________________
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 467
Joined: 09 May 2003 Posts: 25702 Location: The netherlands
|
Posted: Mon Dec 20, 2010 5:54 pm Post subject: |
|
|
read http://forum.cheatengine.org/viewtopic.php?t=422516
a pointer is a 32/64-bit value representing another address
that address is the start address of a block of memory containing all kinds of data from normal variables to other pointers _________________
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 |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Mon Dec 20, 2010 6:05 pm Post subject: |
|
|
you can think about a pointer as an identifier to some type of data, a type of handle. we also call this type of identifier a 'reference'. it just so happens that this 'reference' has a value that corresponds to the virtual memory address of the data it is referencing |
|
Back to top |
|
 |
atom0s Moderator
Reputation: 204
Joined: 25 Jan 2006 Posts: 8579 Location: 127.0.0.1
|
|
Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Thu Dec 23, 2010 1:14 pm Post subject: |
|
|
Lets say your scanning a pointer for your dynamic address which is 0x1000;
Your subtract the address your searching for by your offset range, then, do a range scan for any address whose value equals to any address in between that range ( address - offset range to address ). |
|
Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Thu Dec 23, 2010 4:23 pm Post subject: |
|
|
iPromise wrote: | Lets say your scanning a pointer for your dynamic address which is 0x1000;
Your subtract the address your searching for by your offset range, then, do a range scan for any address whose value equals to any address in between that range ( address - offset range to address ). |
this is probably the least helpful response you could have possibly given |
|
Back to top |
|
 |
M.CORP Grandmaster Cheater Supreme
Reputation: 28
Joined: 28 Oct 2009 Posts: 1010
|
Posted: Thu Dec 23, 2010 8:19 pm Post subject: |
|
|
Thanks, the second link is much more useful than the first one. Much more clearer and explained in a better way. +rep! _________________
|
|
Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Thu Dec 23, 2010 9:02 pm Post subject: |
|
|
imo one of the best ways to "get it" is to play around with them in the debugger.
it's easier to understand exactly what is happening when you can visually see it. |
|
Back to top |
|
 |
M.CORP Grandmaster Cheater Supreme
Reputation: 28
Joined: 28 Oct 2009 Posts: 1010
|
Posted: Thu Dec 23, 2010 10:14 pm Post subject: |
|
|
slovach wrote: | imo one of the best ways to "get it" is to play around with them in the debugger.
it's easier to understand exactly what is happening when you can visually see it. |
That's how i usually learn . _________________
|
|
Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
|
Back to top |
|
 |
|