LIEF: Library to Instrument Executable Formats Version 0.15.0
|
Class that represents a PE symbol. More...
#include <Symbol.hpp>
Public Member Functions | |
Symbol (const details::pe_symbol &header) | |
Symbol & | operator= (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 |
Section * | section () |
const Section * | section () 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 &) | |
Symbol & | operator= (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) | |
Object & | operator= (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>>> |
Class that represents a PE symbol.
|
overridevirtual |
Implements LIEF::Object.