Theodosius  v3.0
Jit linker, mapper, obfuscator, and mutator
Public Member Functions | Static Public Member Functions | List of all members
theo::obf::engine_t Class Reference

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_tget ()
 get the singleton object of this class. More...
 

Detailed Description

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.

Member Function Documentation

◆ add_pass()

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.

Parameters
passa pointer to the pass in which to add to the engine.

◆ get()

static engine_t* theo::obf::engine_t::get ( )
static

get the singleton object of this class.

Returns
the singleton object of this class.

◆ run()

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.

Parameters
symsymbol to run all passes on.

The documentation for this class was generated from the following file: