Page 1 of 1

Protection question

Posted: Tue Mar 22, 2011 5:51 pm
by alex99
suppose I have two functions a() and b();

What happens if I do?

a() {
VMProtectBegin("protect");
b();
VMProtectEnd();
}


b()
{
// do stuff
}

Is the content of b() visible in clear or is it also protected? Or do I need to call VMProtectBegin/End within b() as well?

Re: Protection question

Posted: Tue Mar 22, 2011 6:48 pm
by Admin
If you want to protect the content of b() you need to include this function into the list for protection.