Author Topic: Is Indirection Possible?  (Read 4112 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
Re: Is Indirection Possible?
« Reply #15 on: January 15, 2014, 05:38:49 AM »
Thank you Charles,

is corrected now! (new dll)
no address to see.

another pointer technic.  :D
Code: [Select]
int v[4] = {10, 20, 30, 40}
int p1,p2,p3,p4
*p = &v[]

mov edi,p
mov eax,[edi]
mov p1,eax
mov eax,[edi+4]
mov p2,eax
mov eax,[edi+8]
mov p3,eax
mov eax,[edi+12]
mov p4,eax

print p1 ":" p2 ":" p3 ":" p4
« Last Edit: January 15, 2014, 05:48:25 AM by peter »