Page 1 of 1

Marker use

Posted: Sun Oct 21, 2012 1:23 pm
by mtx-electronics
When using VM_Markers or Reg_Crypt to protect an entire function can the variable declarations be put inside the marker?

Code: Select all

int function_example1(void)
{
    int s;
    int y=0;

    #include "include\reg_crypt_begin1.inc"

    ......
    ......

    #include "include\reg_crypt_end1.inc"

    return (s);
}

Code: Select all

int function_example2(void)
{
    #include "include\reg_crypt_begin1.inc"

    int s;
    int y=0;

    ......
    ......

    #include "include\reg_crypt_end1.inc"

    return (s);
}

Re: Marker use

Posted: Mon Oct 22, 2012 7:19 am
by Enigma
Yes, it is possible, there is no any restriction with the variables definitions.