Hello, is this correct way to insert markers inside of code? or not?
DWORD dwGetVMTCount( PDWORD pdwVMT )
{
VMProtectBeginMutation( "vmthook_count" );
DWORD dwIndex = 0;
blablabla
...
...
VMProtectEnd( );
return dwIndex;
}
or should I insert it in other place? I’m asking it because of return statement, when I insert marker after return statement compiler is optimizing out marker, so I put it before return.