16#ifndef LIEF_PE_IMPORT_ENTRY_H
17#define LIEF_PE_IMPORT_ENTRY_H
44 data_(
data), type_(type)
48 this->name(std::move(
name));
64 static constexpr auto MASK = 0xFFFF;
117 uint64_t iat_value_ = 0;
118 uint64_t ilt_value_ = 0;
Class that is used to rebuild a raw PE binary from a PE::Binary object.
Definition PE/Builder.hpp:45
ImportEntry(uint64_t data, PE_TYPE type)
Definition ImportEntry.hpp:43
void data(uint64_t data)
Definition ImportEntry.hpp:101
uint16_t ordinal() const
The ordinal value.
Definition ImportEntry.hpp:63
uint64_t ilt_value() const
Original value in the import lookup table. This value should match the iat_value().
Definition ImportEntry.hpp:87
~ImportEntry() override=default
uint64_t iat_value() const
Value of the current entry in the Import Address Table. It should match the lookup table value.
Definition ImportEntry.hpp:81
ImportEntry(const ImportEntry &)=default
uint16_t hint() const
Index into the Export::entries that is used to speed-up the symbol resolution.
Definition ImportEntry.hpp:75
void accept(Visitor &visitor) const override
friend std::ostream & operator<<(std::ostream &os, const ImportEntry &entry)
uint64_t hint_name_rva() const
Definition ImportEntry.hpp:69
ImportEntry & operator=(const ImportEntry &)=default
friend class Builder
Definition ImportEntry.hpp:38
uint64_t data() const
Raw value.
Definition ImportEntry.hpp:92
bool is_ordinal() const
True if it is an import by ordinal
friend class Parser
Definition ImportEntry.hpp:37
ImportEntry(std::string name)
Definition ImportEntry.hpp:47
uint64_t iat_address() const
Original address of the entry in the Import Address Table
Definition ImportEntry.hpp:97
std::string demangled_name() const
Demangled representation of the symbol or an empty string if it can't be demangled.
Main interface to parse PE binaries. In particular the static functions: Parser::parse should be used...
Definition PE/Parser.hpp:52
This class represents a symbol in an executable format.
Definition Abstract/Symbol.hpp:28
virtual const std::string & name() const
Return the symbol's name.
Definition Abstract/Symbol.hpp:54
Definition Visitor.hpp:210
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
PE_TYPE
Definition PE/enums.hpp:22
@ PE32_PLUS
64 bits
Definition PE/enums.hpp:24
LIEF namespace.
Definition Abstract/Binary.hpp:40
#define LIEF_API
Definition visibility.h:41
#define LIEF_LOCAL
Definition visibility.h:42