LLVM 20.0.0git
|
The PE32 Import Lookup Table. More...
#include "llvm/BinaryFormat/COFF.h"
Public Member Functions | |
bool | isOrdinal () const |
Is this entry specified by ordinal, or name? | |
uint16_t | getOrdinal () const |
Get the ordinal value of this entry. isOrdinal must be true. | |
void | setOrdinal (uint16_t o) |
Set the ordinal value and set isOrdinal to true. | |
uint32_t | getHintNameRVA () const |
Get the Hint/Name entry RVA. isOrdinal must be false. | |
void | setHintNameRVA (uint32_t rva) |
Set the Hint/Name entry RVA and set isOrdinal to false. | |
Public Attributes | |
uint32_t | data |
The PE32 Import Lookup Table.
There is an array of these for each imported DLL. It represents either the ordinal to import from the target DLL, or a name to lookup and import from the target DLL.
This also happens to be the same format used by the Import Address Table when it is initially written out to the image.
|
inline |
Get the Hint/Name entry RVA. isOrdinal must be false.
Definition at line 537 of file COFF.h.
References assert(), data, and isOrdinal().
|
inline |
Get the ordinal value of this entry. isOrdinal must be true.
Definition at line 525 of file COFF.h.
References assert(), data, and isOrdinal().
|
inline |
Is this entry specified by ordinal, or name?
Definition at line 522 of file COFF.h.
References data.
Referenced by getHintNameRVA(), and getOrdinal().
|
inline |
|
inline |
uint32_t llvm::COFF::ImportLookupTableEntry32::data |
Definition at line 519 of file COFF.h.
Referenced by getHintNameRVA(), getOrdinal(), isOrdinal(), setHintNameRVA(), and setOrdinal().