LIEF: Library to Instrument Executable Formats Version 0.15.1
|
This class provides general information (RVA, name) about a symbol from the PDB's public symbol stream (or Public symbol hash stream) More...
#include <PublicSymbol.hpp>
Classes | |
class | Iterator |
Public Types | |
enum class | FLAGS : uint32_t { NONE = 0 , CODE = 1 << 0 , FUNCTION = 1 << 1 , MANAGED = 1 << 2 , MSIL = 1 << 3 } |
Public Member Functions | |
PublicSymbol (std::unique_ptr< details::PublicSymbol > impl) | |
~PublicSymbol () | |
std::string | name () const |
Name of the symbol. | |
std::string | demangled_name () const |
Demangled representation of the symbol. | |
std::string | section_name () const |
Name of the section in which this symbol is defined (e.g. .text ). | |
uint32_t | RVA () const |
Relative Virtual Address of this symbol. | |
This class provides general information (RVA, name) about a symbol from the PDB's public symbol stream (or Public symbol hash stream)
|
strong |
LIEF::pdb::PublicSymbol::PublicSymbol | ( | std::unique_ptr< details::PublicSymbol > | impl | ) |
LIEF::pdb::PublicSymbol::~PublicSymbol | ( | ) |
std::string LIEF::pdb::PublicSymbol::demangled_name | ( | ) | const |
Demangled representation of the symbol.
std::string LIEF::pdb::PublicSymbol::name | ( | ) | const |
Name of the symbol.
uint32_t LIEF::pdb::PublicSymbol::RVA | ( | ) | const |
Relative Virtual Address of this symbol.
This function returns 0 if the RVA can't be computed.
std::string LIEF::pdb::PublicSymbol::section_name | ( | ) | const |
Name of the section in which this symbol is defined (e.g. .text
).
This function returns an empty string if the section's name can't be found