Theodosius v3.0
Jit linker, symbol mapper, and obfuscator
Public Member Functions | Static Public Member Functions
theo::obf::hello_world_pass_t Class Reference

hello world pass example of how to inherit pass_t. More...

#include "hello_world_pass.hpp"

Inheritance diagram for theo::obf::hello_world_pass_t:
theo::obf::pass_t

Public Member Functions

void run (decomp::symbol_t *sym)
 virtual method which must be implimented by the pass that inherits this class. More...
 
- Public Member Functions inherited from theo::obf::pass_t
 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...
 

Static Public Member Functions

static hello_world_pass_tget ()
 

Detailed Description

hello world pass example of how to inherit pass_t.

Definition at line 39 of file hello_world_pass.hpp.

Member Function Documentation

◆ get()

static hello_world_pass_t * theo::obf::hello_world_pass_t::get ( )
inlinestatic

Definition at line 45 of file hello_world_pass.hpp.

45 {
46 static hello_world_pass_t obj;
47 return &obj;
48 }

Referenced by main().

◆ run()

void theo::obf::hello_world_pass_t::run ( decomp::symbol_t sym)
inlinevirtual

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

Parameters
syma symbol of the same type of m_sym_type.

Implements theo::obf::pass_t.

Definition at line 50 of file hello_world_pass.hpp.

50 {
51 spdlog::info("[hello_world_pass_t] symbol name: {}, symbol hash: {}",
52 sym->name(), sym->hash());
53 }

References theo::decomp::symbol_t::hash(), and theo::decomp::symbol_t::name().


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