86 std::optional<decomp::symbol_t*>
sym_from_alloc(std::uintptr_t allocated_at);
103 std::map<std::size_t, decomp::symbol_t> m_table;
symbol_t is an abstraction upon the coff symbol. this allows for easier manipulation of the symbol....
this class is a high level wrapper for a hashmap that contains decomp::symbol_t values....
std::optional< decomp::symbol_t * > sym_from_alloc(std::uintptr_t allocated_at)
returns an optional pointer to a symbol given its allocation location.
void for_each(std::function< void(decomp::symbol_t &sym)> fn)
this function is a wrapper function that allows you to get at each entry in the symbol table by refer...
std::optional< decomp::symbol_t * > sym_from_hash(std::size_t hash)
returns an optional pointer to a symbol from the symbol table given the symbols hash (hash of its nam...
symbol_table_t(const std::vector< decomp::symbol_t > &&syms)
this constructor will populate the m_table private field with symbols.
symbol_table_t()
default constructor. does nothing.
void put_symbols(std::vector< decomp::symbol_t > &syms)
add a vector of symbol to m_table
std::uint32_t size()
returns the size of the symbol table.
void put_symbol(decomp::symbol_t &sym)
add symbol to m_table
this namespace encompasses all recomposition related code.