strivexjun / XAntiDebug

VMProtect 3.x Anti-debug Method Improved
521 stars 154 forks source link

Purpose of pRandChar ? #10

Open Mecanik opened 4 years ago

Mecanik commented 4 years ago

Hi,

What's the purpose of this ?

        unsigned char *pRandChar = (unsigned char *)_pagePtr;
        for (size_t i = 0; i < _pageSize; i++)
        {
            pRandChar[i] = LOBYTE(rand());
        }

It's never used from what I can see...