Home
I have put a VM macro in my "main()" function. Inside the VM_START/END markers I'm calling several functions. Are those called functions also virtualized?
Reference Number: AA-00574 Views: 237
Suppose the following example:

int main(void)
{
​    VM_START

    MyFunction1();
    MyFunction2();

​    return 0;

    VM_END
}
In the above example you are protecting the code inside the "main()" function but not the code inside "Function1()" and "Function2()". 

If you want to protect/virtualize also the code inside "Function1()" and "Function2()" you need to put another VM macros inside "Function1()" and another VM macro inside "Function2()"
Quick Jump Menu