I made a exe and a dll. Dll calling function in exe. it is fine in intel system but it is crash when amd system.
asm
{
push ebp -> crash here most of the time
mov esp,ebp -> crash here rarely
}
it is begining of the function. What should I do.
typedef void(__thiscall* CALL)(DWORD, int, int, int, int);
CALL C = (CALL)(AdresOfFunction);
C(ClassPointer,1,2,0,0);
class pointer is okey.
I nop push ebp and mov ebp,esp still crash on nop.
I tried some compiler settings. SSE2 , AVX or optimization settings Od – O2.
New contributor
Yoyoyo345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
10