HELP!!!how to debug DLL, here is a case...在线等!also Stack overflow
程序在运行期间错误如下:
Unhandled exception at 0x00391d12 (ZWinSock.dll) in TestCenter.exe: 0xC00000FD: Stack overflow.
Debug模式汇编代码如下:(IDE自动停在*的那行,无法在继续)
lastpage:
sub ecx,eax ; move stack down by eax
mov eax,esp ; save current tos and do a...
* test dword ptr [ecx],eax ; ...probe in case a page was crossed
mov esp,ecx ; set the new stack pointer
mov ecx,dword ptr [eax] ; recover ecx
mov eax,dword ptr [eax + 4] ; recover return address
push eax ; prepare return address
; ...probe in case a page was crossed
ret
请问这样我如何知道到底ZWinSock.dll那行除了错误,或哪些情况导致Stack overflow?
谢谢。
show me and you get the points