Theodosius
v3.0
Jit linker, mapper, obfuscator, and mutator
|
singleton obfuscation engine class. this class is responsible for keeping track of the registered passes and the order in which to execute them. More...
#include <engine.hpp>
Public Member Functions | |
void | add_pass (pass_t *pass) |
add a pass to the engine. the order in which you call this function matters as the underlying data structure that contains the passes is a vector. More... | |
void | run (decomp::symbol_t *sym) |
run all the passes on the symbol. this function will only run a pass if the symbol is the same type as the pass requires. More... | |
Static Public Member Functions | |
static engine_t * | get () |
get the singleton object of this class. More... | |
singleton obfuscation engine class. this class is responsible for keeping track of the registered passes and the order in which to execute them.
Definition at line 42 of file engine.hpp.
void theo::obf::engine_t::add_pass | ( | pass_t * | pass | ) |
add a pass to the engine. the order in which you call this function matters as the underlying data structure that contains the passes is a vector.
pass | a pointer to the pass in which to add to the engine. |
|
static |
get the singleton object of this class.
void theo::obf::engine_t::run | ( | decomp::symbol_t * | sym | ) |
run all the passes on the symbol. this function will only run a pass if the symbol is the same type as the pass requires.
sym | symbol to run all passes on. |