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

the pass_t class is a base clase for all passes made. you must override the pass_t::run virtual function and declare the logic of your pass there. More...

#include <pass.hpp>

Inheritance diagram for theo::obf::pass_t:
Inheritance graph
[legend]

Public Member Functions

 pass_t (decomp::sym_type_t sym_type)
 the explicit constructor of the pass_t base class. More...
 
virtual void run (decomp::symbol_t *sym)=0
 virtual method which must be implimented by the pass that inherits this class. More...
 
decomp::sym_type_t sym_type ()
 gets the passes symbol type. More...
 

Detailed Description

the pass_t class is a base clase for all passes made. you must override the pass_t::run virtual function and declare the logic of your pass there.

in the constructor of your pass you must call the super constructor (the pass_t constructor) and pass it the type of symbol which you are interesting in receiving.

Definition at line 55 of file pass.hpp.

Constructor & Destructor Documentation

◆ pass_t()

theo::obf::pass_t::pass_t ( decomp::sym_type_t  sym_type)
inlineexplicit

the explicit constructor of the pass_t base class.

Parameters
sym_typethe type of symbol in which the pass will run on. every symbol passed to the virtual "run" instruction will be of this type.

Definition at line 63 of file pass.hpp.

Member Function Documentation

◆ run()

virtual void theo::obf::pass_t::run ( decomp::symbol_t sym)
pure virtual

virtual method which must be implimented by the pass that inherits this class.

Parameters
syma symbol of the same type of m_sym_type.

Implemented in theo::obf::reloc_transform_pass_t, theo::obf::next_inst_pass_t, and theo::obf::jcc_rewrite_pass_t.

◆ sym_type()

decomp::sym_type_t theo::obf::pass_t::sym_type ( )
inline

gets the passes symbol type.

Returns
the passes symbol type.

Definition at line 76 of file pass.hpp.


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