|
Class for accessing the symbol table. More...
Public Member Functions | |
virtual symbol * | get_symbol (uint32_t index) |
Gets a symbol from its index. More... | |
virtual const symbol * | get_symbol (uint32_t index) const |
Gets a symbol from its index. More... | |
virtual symbol * | get_symbol (const std::string &name) |
Gets a symbol from its name. More... | |
virtual const symbol * | get_symbol (const std::string &name) const |
Gets a symbol from its name. More... | |
std::vector< symbol > * | get_symbols () |
const std::vector< symbol > * | get_symbols () const |
symbol * | add_symbol (const std::string &name) |
Adds a symbol in the table. More... | |
Public Member Functions inherited from string_to_name_provider | |
virtual std::string | string_to_name (const char *str) const =0 |
Converts an 8-bytes symbol short name into a full name, eventually by looking into the strings table. More... | |
virtual std::string | section_string_to_name (const char *str) const =0 |
Converts an 8-bytes section short name into a full name, eventually by looking into the strings table. More... | |
virtual void | name_to_string (const std::string &name, char *str)=0 |
Converts symbol full name into an 8-bytes short name, eventually creating an entry in the strings table. | |
virtual void | name_to_section_string (const std::string &name, char *str)=0 |
Converts section full name into an 8-bytes short name, eventually creating an entry in the strings table. | |
Class for accessing the symbol table.
Definition at line 138 of file coffi_symbols.hpp.
|
inlinevirtual |
Adds a symbol in the table.
Eventually creates an entry in the strings table for the symbol name.
Implements symbol_provider.
Definition at line 203 of file coffi_symbols.hpp.
|
inlinevirtual |
Gets a symbol from its name.
Implements symbol_provider.
Definition at line 178 of file coffi_symbols.hpp.
|
inlinevirtual |
Gets a symbol from its name.
Implements symbol_provider.
Definition at line 185 of file coffi_symbols.hpp.
|
inlinevirtual |
Gets a symbol from its index.
Implements symbol_provider.
Definition at line 150 of file coffi_symbols.hpp.
|
inlinevirtual |
Gets a symbol from its index.
Implements symbol_provider.
Definition at line 157 of file coffi_symbols.hpp.