-
-
[旧帖]
[求助]汇编代码this指针问题
0.00雪花
-
发表于:
2011-7-6 09:50
1382
-
[旧帖] [求助]汇编代码this指针问题
0.00雪花
_TEXT SEGMENT
_wmain PROC
push ebp
mov ebp, esp
push -1
push __ehhandler$_wmain
mov eax, DWORD PTR fs:0
push eax
sub esp, d8H
push ebx
push esi
push edi
lea edi, DWORD PTR [ebp-e4H]
mov ecx, 36H
mov eax, ccccccccH
rep stosd
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR [ebp-0cH]
mov DWORD PTR fs:0, eax
lea ecx, DWORD PTR [ebp-14H]
call ??0my_class@@QAE@XZ
mov DWORD PTR [ebp-4], 0
........................
lea ecx, DWORD PTR [ebp-14H] 应该是往ecx中放入this指针,然后调用构造函数,
this 指针什么时候放入[ebp-14H]的????
lea edi, DWORD PTR [ebp-e4H]
mov ecx, 36H
mov eax, ccccccccH
rep stosd
放入[ebp-14H]的应该是CCCCCCCCH呀???
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!