LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LIEF::PE::Symbol Class Reference

Class that represents a PE symbol. More...

#include <Symbol.hpp>

Inheritance diagram for LIEF::PE::Symbol:
Inheritance graph
[legend]
Collaboration diagram for LIEF::PE::Symbol:
Collaboration graph
[legend]

Public Member Functions

 Symbol (const details::pe_symbol &header)
 
Symboloperator= (Symbol other)
 
 Symbol (const Symbol &other)
 
void swap (Symbol &other)
 
int16_t section_number () const
 
uint16_t type () const
 
SYMBOL_BASE_TYPES base_type () const
 
SYMBOL_COMPLEX_TYPES complex_type () const
 
SYMBOL_STORAGE_CLASS storage_class () const
 
uint8_t numberof_aux_symbols () const
 
std::wstring wname () const
 
Sectionsection ()
 
const Sectionsection () const
 
bool has_section () const
 True if symbols are located in a section
 
void accept (Visitor &visitor) const override
 
- Public Member Functions inherited from LIEF::Symbol
 Symbol (std::string name)
 
 Symbol (std::string name, uint64_t value)
 
 Symbol (std::string name, uint64_t value, uint64_t size)
 
 Symbol (const Symbol &)
 
Symboloperator= (const Symbol &)
 
void swap (Symbol &other)
 
virtual const std::string & name () const
 Return the symbol's name.
 
virtual std::string & name ()
 
virtual void name (const std::string &name)
 Set symbol name.
 
virtual uint64_t value () const
 
virtual void value (uint64_t value)
 
virtual uint64_t size () const
 This size of the symbol (when applicable)
 
virtual void size (uint64_t value)
 
void accept (Visitor &visitor) const override
 Method so that the visitor can visit us.
 
- Public Member Functions inherited from LIEF::Object
 Object (const Object &other)
 
Objectoperator= (const Object &other)
 
template<class T >
output_t< T > as ()
 
template<class T >
output_const_t< T > as () const
 
virtual bool operator== (const Object &other) const
 
virtual bool operator!= (const Object &other) const
 

Additional Inherited Members

- Public Types inherited from LIEF::Object
template<class T >
using output_t = add_pointer_t<decay_t<T>>
 
template<class T >
using output_const_t = add_pointer_t<add_const_t<decay_t<T>>>
 

Detailed Description

Class that represents a PE symbol.

Member Function Documentation

◆ accept()

void LIEF::PE::Symbol::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.


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