Floating point instruction virtualization error
Posted: Sun Sep 06, 2015 9:13 pm
Hi,
I was testing latest version of VMProtect (3.0.2.470) and it seems that it cannot virtualize fldcw instruction. What's interesting its counterpart fstcw compiles without problems.
Here's a minimal sample to reproduce this issue (compile using VS):
Protection settings and compilation log:

I was testing latest version of VMProtect (3.0.2.470) and it seems that it cannot virtualize fldcw instruction. What's interesting its counterpart fstcw compiles without problems.
Here's a minimal sample to reproduce this issue (compile using VS):
Code: Select all
__declspec(noinline) void vmProtectionFailureTest()
{
unsigned short cw;
__asm
{
fstcw cw
fldcw cw
}
}
int main()
{
vmProtectionFailureTest();
return 0;
}
