LIEF: Library to Instrument Executable Formats Version 0.16.0
Loading...
Searching...
No Matches
LIEF::pdb::PublicSymbol Class Reference

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.
 

Detailed Description

This class provides general information (RVA, name) about a symbol from the PDB's public symbol stream (or Public symbol hash stream)

Member Enumeration Documentation

◆ FLAGS

enum class LIEF::pdb::PublicSymbol::FLAGS : uint32_t
strong
Enumerator
NONE 
CODE 
FUNCTION 
MANAGED 
MSIL 

Constructor & Destructor Documentation

◆ PublicSymbol()

LIEF::pdb::PublicSymbol::PublicSymbol ( std::unique_ptr< details::PublicSymbol > impl)

◆ ~PublicSymbol()

LIEF::pdb::PublicSymbol::~PublicSymbol ( )

Member Function Documentation

◆ demangled_name()

std::string LIEF::pdb::PublicSymbol::demangled_name ( ) const

Demangled representation of the symbol.

◆ name()

std::string LIEF::pdb::PublicSymbol::name ( ) const

Name of the symbol.

◆ RVA()

uint32_t LIEF::pdb::PublicSymbol::RVA ( ) const

Relative Virtual Address of this symbol.

This function returns 0 if the RVA can't be computed.

◆ section_name()

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


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