59 coff::section_characteristics_t)>;
119 std::uintptr_t
resolve(
const std::string&& sym);
the main decomposition class which is responsible for breaking down lib file into coff files,...
the main class responsible for recomposition
void copy_syms()
when called, this function copies symbols into allocations.
void allocator(allocator_t alloc)
setter for the allocater lambda function.
void resolver(resolver_t resolve)
setter for the resolve lambda function.
void resolve()
when called, this function resolves all relocations in every symbol.
void allocate()
when called, this function allocates space for every symbol.
void copier(copier_t copy)
setter for the copier lambda function.
recomp_t(decomp::decomp_t *dcmp, allocator_t alloc, copier_t copy, resolver_t resolve)
the explicit constructor for the recomp_t class.
std::uintptr_t resolve(const std::string &&sym)
resolves the address of a function given its name.
this namespace encompasses all recomposition related code.
std::function< void(std::uintptr_t, void *, std::uint32_t)> copier_t
a function which is called by recomp_t to copy symbols into memory.
std::function< std::uintptr_t(std::string)> resolver_t
a function which is called by recomp_t to resolve external symbols
std::function< std::uintptr_t(std::uint32_t, coff::section_characteristics_t)> allocator_t
a function which is called to allocate space for a symbol.