6 #ifndef ELF_HPP_INCLUDE
7 #define ELF_HPP_INCLUDE
21 std::pair<size_t, std::string>
symbol_lookup(
const void *instruction_ptr);
27 std::map<size_t, std::string>
elf_symbol_map(
const std::string &file_path);
Definition: Accumulator.cpp:12
std::pair< size_t, std::string > symbol_lookup(const void *instruction_ptr)
Look up the nearest symbol lower than an instruction address.
Definition: ELF.cpp:80
std::map< size_t, std::string > elf_symbol_map(const std::string &file_path)
Get a map from symbol location to symbol name for all symbols in an ELF file.
Definition: ELF.cpp:65