LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Class that represents an entry (i.e. an import) in the delay import table (DelayImport). More...
#include <DelayImportEntry.hpp>
Public Member Functions | |
DelayImportEntry ()=default | |
DelayImportEntry (uint64_t data, PE_TYPE type) | |
DelayImportEntry (const DelayImportEntry &)=default | |
DelayImportEntry & | operator= (const DelayImportEntry &)=default |
DelayImportEntry (DelayImportEntry &&) noexcept=default | |
DelayImportEntry & | operator= (DelayImportEntry &&) noexcept=default |
~DelayImportEntry () override=default | |
std::string | demangled_name () const |
Demangled representation of the symbol or an empty string if it can't be demangled. | |
bool | is_ordinal () const |
True if it is an import by ordinal | |
uint16_t | ordinal () const |
The ordinal value. | |
uint64_t | hint_name_rva () const |
uint16_t | hint () const |
Index into the Export::entries that is used to speed-up the symbol resolution. | |
uint64_t | iat_value () const |
Value of the current entry in the Import Address Table. | |
uint64_t | data () const |
Raw value. | |
void | data (uint64_t data) |
void | accept (Visitor &visitor) const override |
Public Member Functions inherited from LIEF::Symbol | |
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 (Symbol &&)=default | |
Symbol & | operator= (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) |
Object (Object &&other) noexcept=default | |
Object & | operator= (Object &&other) noexcept=default |
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>>> |
Class that represents an entry (i.e. an import) in the delay import table (DelayImport).
It extends the LIEF::Symbol generic class that exposes the LIEF::Symbol::name and LIEF::Symbol::value API.
The meaning of LIEF::Symbol::value for this PE object is the address (as an RVA) in the IAT where the resolution should take place.
|
default |
Referenced by DelayImportEntry(), DelayImportEntry(), operator<<, operator=(), operator=(), and ~DelayImportEntry().
|
inline |
References data().
|
default |
References DelayImportEntry().
|
defaultnoexcept |
References DelayImportEntry().
|
overridedefault |
References DelayImportEntry().
|
overridevirtual |
Implements LIEF::Object.
|
inline |
Raw value.
Referenced by data(), DelayImportEntry(), and hint_name_rva().
|
inline |
References data().
std::string LIEF::PE::DelayImportEntry::demangled_name | ( | ) | const |
Demangled representation of the symbol or an empty string if it can't be demangled.
References demangled_name().
Referenced by demangled_name().
|
inline |
Index into the Export::entries that is used to speed-up the symbol resolution.
|
inline |
References data().
|
inline |
Value of the current entry in the Import Address Table.
bool LIEF::PE::DelayImportEntry::is_ordinal | ( | ) | const |
|
default |
References DelayImportEntry().
|
defaultnoexcept |
References DelayImportEntry().
|
inline |