|
发表于 2017-4-29 21:15:19
|
显示全部楼层
反汇编如下
22: struct foo1 tmp;
23:
24: printf("&tmp = 0x%X\n", &tmp);
00214CDC lea eax,[ebp-14h]
00214CDF push eax
00214CE0 push 216CF0h
00214CE5 call 00211352
00214CEA add esp,8
25: printf("&tmp.p = 0x%X\n", &tmp.p);
00214CED lea eax,[ebp-14h]
00214CF0 push eax
00214CF1 push 216D00h
00214CF6 call 00211352
00214CFB add esp,8
26: printf("&tmp.c = 0x%X\n", &tmp.c);
00214CFE lea eax,[ebp-10h]
00214D01 push eax
00214D02 push 216E30h
00214D07 call 00211352
00214D0C add esp,8
27: printf("&tmp.x = 0x%X\n", &tmp.x);
00214D0F lea eax,[ebp-0Ch]
00214D12 push eax
00214D13 push 216E40h
00214D18 call 00211352
00214D1D add esp,8
28:
29: return 0;
00214D20 xor eax,eax |
|