求大神们指点迷津:
1.Stack trace
0027f3f8 011164b2 xxx!ATL::CStringData::Release+0x6 [d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atlsimpstr.h @ 114]
0027f87c 01183a8f xxx!wWinMain+0xef xxxx
0027f90c 76eb33ca xxx!__tmainCRTStartup+0x11a [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c @ 275]
0027f918 778b9ed2 kernel32!BaseThreadInitThunk+0xe
0027f958 778b9ea5 ntdll!__RtlUserThreadStart+0x70
0027f970 00000000 ntdll!_RtlUserThreadStart+0x1b
2.寄存器
eax=fffffffc ebx=00000000 ecx=fffffff0 edx=ffffffff esi=011cb078 edi=00000000
eip=011182d2 esp=0027f3fc ebp=0027f87c iopl=0 nv up ei ng nz na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00210286
xxx!ATL::CStringData::Release+0x6:
011182d2 f00fc110 lock xadd dword ptr [eax],edx ds:002b:fffffffc=????????
3.源码:
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
function1();
function2();
base::CommandLine cl;
cl.ParseFromString(::GetCommandLineW());
CString strProcessType = cl.GetSwitchValue(
base::CommandLine::ProcessType
);
BOOL bIsUrl = cl.HasExternalLink();
if (function3(strProcessType,bIsUrl))
{
Log(LL_EVENT, TAG(L"xxx"), L"xxx");
return 0; //执行到此处崩溃!!!!!!!!!!!!!!
}
.......
}
感谢!!
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)