LIEF: Library to Instrument Executable Formats Version 0.15.1
|
This class represents a symbol in an executable format. More...
#include <Symbol.hpp>
Public Member Functions | |
Symbol ()=default | |
Symbol (std::string name) | |
Symbol (std::string name, uint64_t value) | |
Symbol (std::string name, uint64_t value, uint64_t size) | |
Symbol (const Symbol &)=default | |
Symbol & | operator= (const Symbol &)=default |
~Symbol () override=default | |
void | swap (Symbol &other) noexcept |
virtual const std::string & | name () const |
Return the symbol's name. | |
virtual std::string & | name () |
virtual void | name (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 () | |
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 |
virtual | ~Object () |
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>>> |
This class represents a symbol in an executable format.
|
default |
|
inline |
|
inline |
|
inline |
|
default |
|
overridedefault |
|
overridevirtual |
Method so that the visitor
can visit us.
Implements LIEF::Object.
|
inlinevirtual |
|
inlinevirtual |
Return the symbol's name.
|
inlinevirtual |
Set symbol name.
|
inlinevirtual |
This size of the symbol (when applicable)
Reimplemented in LIEF::ELF::Symbol.
|
inlinevirtual |
Reimplemented in LIEF::ELF::Symbol.
|
noexcept |
|
inlinevirtual |
Reimplemented in LIEF::ELF::Symbol, and LIEF::PE::ExportEntry.
|
inlinevirtual |
Reimplemented in LIEF::ELF::Symbol, and LIEF::PE::ExportEntry.