View previous topic :: View next topic |
Author |
Message |
iPromise Grandmaster Cheater Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Fri Apr 23, 2010 6:17 pm Post subject: Reading An Address for a Pointer |
|
|
Hello,
I understand how to determine a static address from a dynamic, but whats been wondering my mind is how to read a dynamic address for a pointer.
My question here is, what techniques or methods should I use to find a pointer to a dynamic address, thanks.
|
|
Back to top |
|
|
Slugsnack Grandmaster Cheater Supreme Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Fri Apr 23, 2010 6:22 pm Post subject: |
|
|
look at CE and look when you find a dynamic address and look at the code associated with it and see how CE suggests pointer values. usually a pointer is when there is some sort of dynamically allocated structure, maybe a class or maybe regular structure. a variable holds a pointer to the base/start of this structure. the offset is how far in a given member is
|
|
Back to top |
|
|
iPromise Grandmaster Cheater Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Fri Apr 23, 2010 7:03 pm Post subject: |
|
|
I see, I don't have Delphi installed on my PC to read CE.
How read off an address to know if its part of any class or any other regular structure?
Ideas, suggestions, functions, please and thanks.
|
|
Back to top |
|
|
Slugsnack Grandmaster Cheater Supreme Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Fri Apr 23, 2010 7:07 pm Post subject: |
|
|
iPromise wrote: | I see, I don't have Delphi installed on my PC to read CE.
How read off an address to know if its part of any class or any other regular structure? |
Not the source, just do the tutorial and see if you can understand why it is suggesting the values it is.
Quote: | Ideas, suggestions, functions, please and thanks. |
lol
|
|
Back to top |
|
|
&Vage Grandmaster Cheater Supreme Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Sat May 01, 2010 3:18 pm Post subject: |
|
|
What don't you understand about a dynamic pointer?
Get value of the address, add offsets to the value. If it's a multipointer just get value of initiate address, add offsets, get value of that offset+Address, repeat.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
|
Back to top |
|
|
iPromise Grandmaster Cheater Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Thu May 06, 2010 5:55 pm Post subject: |
|
|
@&Vage Okay, so obtain the value from the dynamic address then add offsets to it? What offsets do I add to it to obtain the pointer?
Code: |
DWORD Value = *(DWORD*) Address;
DWORD ApplicationBase = (DWORD) GetModuleHandle(0);
DWORD Offset = ApplicationBase - Address;
DWORD Pointer? = Value + Offset;
|
i'm really lost in what u just said.
|
|
Back to top |
|
|
|