我猜它无处可寻,空指针或其他东西,但是我正在事先检查
这两个片段都崩溃了:
//Snippet 1
DWORD *address = (DWORD*)(base + 0x54);
if (address)
address = (DWORD*)(*address + 0xC);
if (address)
address = (DWORD*)(*address + 0x8); //crashes here
//Snippet 2
DWORD address = *(DWORD*)(base + 0x54);
if (address)
address = *(DWORD*)(address + 0xC);
if (address)
address = *(DWORD*)(address + 0x8); //crashes here
难道我做错了什么?提前致谢