Theodosius v3.0
Jit linker, symbol mapper, and obfuscator
Data Structures | Typedefs
theo::recomp Namespace Reference

this namespace encompasses all recomposition related code. More...

Data Structures

class  recomp_t
 the main class responsible for recomposition More...
 
class  reloc_t
 meta data about a relocation for a symbol More...
 
class  symbol_table_t
 this class is a high level wrapper for a hashmap that contains decomp::symbol_t values. the symbol values are references by a hashcode. More...
 

Typedefs

using resolver_t = std::function< std::uintptr_t(std::string)>
 a function which is called by recomp_t to resolve external symbols More...
 
using copier_t = std::function< void(std::uintptr_t, void *, std::uint32_t)>
 a function which is called by recomp_t to copy symbols into memory. More...
 
using allocator_t = std::function< std::uintptr_t(std::uint32_t, coff::section_characteristics_t)>
 a function which is called to allocate space for a symbol. More...
 

Detailed Description

this namespace encompasses all recomposition related code.

Typedef Documentation

◆ allocator_t

using theo::recomp::allocator_t = typedef std::function<std::uintptr_t(std::uint32_t, coff::section_characteristics_t)>

a function which is called to allocate space for a symbol.

the first param is the size of the symbol, the second param is the characteristics of the section which the symbol is allocated in.

Definition at line 57 of file recomp.hpp.

◆ copier_t

using theo::recomp::copier_t = typedef std::function<void(std::uintptr_t, void*, std::uint32_t)>

a function which is called by recomp_t to copy symbols into memory.

Definition at line 49 of file recomp.hpp.

◆ resolver_t

using theo::recomp::resolver_t = typedef std::function<std::uintptr_t(std::string)>

a function which is called by recomp_t to resolve external symbols

Definition at line 44 of file recomp.hpp.