C/C + + Function Randomization

The antispy™ C/C + + Function Randomization provides a random arrangement of functions in the compiled binary. This can break heuristics that assume that certain features in your application are consecutive in the code segment. The implementation i

Implementierung

s carried out with the macode ANTI _ SPY _ RANDOM _ LAYOUT _ START before the function definition and ANTI _ SPY _ RANDOM _ LAYOUT _ END according to the function definition.

#include<antispy bfuscation.hpp=""></antispy>

ANTI _ SPY _ RANDOM _ LAYOUT _ START
int random _ func ()
{
    Return 1;
}
ANTI _ SPY _ RANDOM _ LAYOUT _ END

int main (int argc, const char * * argv)
{    
    Auto result = random _ func ();
    std:: Cout< "random="" func="" result:="" "="">< result="">< std::endl;></ std::endl;>
    Return 0;
}