Skip to content

Functions annotations

pyknite edited this page Nov 4, 2014 · 1 revision

Description

Annotations allows you to specify functions by functions what obfuscations (or not) to apply.

How to use it

Simply add attributes to your functions.

For example, if you have ten functions, but you only want the function int foo() to be obfuscated, you can declare it like that:

int foo() __attribute((__annotate__(("fla"))));
int foo() {
   return 2;
}

You can add use one or more annotations for each function. You can also use the "reverse flag" if you want to disable an obfuscation on a function (for e.g. if you want to disable the Bogus Control Flow on a function, use the annotation "nobcf").

Clone this wiki locally