复制了一个系统函数,写到自己的函数中,编译不能通过,请大家帮忙看下:
DWORD WINAPI myDbgUiRemoteBreakin( LPVOID lpParameter)
{
DWORD hh=0;
_asm
{
PUSH 8
PUSH 0x7C971E58
CALL 0x7C92E8CB
MOV EAX,FS:[18]
MOV EAX,DS:[EAX+30]
CMP DS:[EAX+2],0
JNZ 0x7C971E2F
TEST DS:[0x7FFE02D4],2
JE 0x7C971E4F
AND SS:[EBP-4],0
CALL DbgBreakPoint
JMP 0x7C971E4B
XOR EAX,EAX
INC EAX
mov hh,eax
}
return hh;
}
错误提示;
“MOV EAX,FS:[18]” error C2415: improper operand type
“XOR EAX,EAX” error C2415: improper operand type
如何解决?
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!