COFFI
1.2
               
string_to_name_provider Class Referenceabstract

Interface for accessing to the string table. More...

+ Inheritance diagram for string_to_name_provider:

Public Member Functions

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.
 

Detailed Description

Interface for accessing to the string table.

Definition at line 1022 of file coffi_types.hpp.

Member Function Documentation

◆ section_string_to_name()

virtual std::string section_string_to_name ( const char *  str) const
pure virtual

Converts an 8-bytes section short name into a full name, eventually by looking into the strings table.

Note
Section short names that reference the string table start with "/".

Implemented in coffi_strings.

◆ string_to_name()

virtual std::string string_to_name ( const char *  str) const
pure virtual

Converts an 8-bytes symbol short name into a full name, eventually by looking into the strings table.

Note
Symbol short names that reference the string table start with "\x00\x00\x00\x00".

Implemented in coffi_strings.


The documentation for this class was generated from the following file: