16 explicit SymbolTable(
const std::vector<Symbol>& symbols);
18 std::optional<Symbol>
find(std::string_view name)
const;
28 std::vector<Symbol> symbols_;
A basic symbol table, for simple interaction with a number of symbols loaded from an ELF file.
Definition symbol_table.hpp:14
std::optional< Symbol > find_closest_above(std::uintptr_t address) const
Find the closest symbol at or below address If no symbol is at or above address, returns nullopt.
Definition symbol_table.cpp:31
SymbolTable(const std::vector< Symbol > &symbols)
Definition symbol_table.cpp:13
std::optional< Symbol > find(std::string_view name) const
Definition symbol_table.cpp:21
Definition asm_buffer.hpp:19