struct ImportLookupTableEntry32

Declaration

struct ImportLookupTableEntry32 { /* full declaration omitted */ };

Description

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.

Declared at: llvm/include/llvm/BinaryFormat/COFF.h:488

Member Variables

public uint32_t data

Method Overview

Methods

uint32_t getHintNameRVA() const

Description

Get the Hint/Name entry RVA. isOrdinal must be false.

Declared at: llvm/include/llvm/BinaryFormat/COFF.h:507

uint16_t getOrdinal() const

Description

Get the ordinal value of this entry. isOrdinal must be true.

Declared at: llvm/include/llvm/BinaryFormat/COFF.h:495

bool isOrdinal() const

Description

Is this entry specified by ordinal, or name?

Declared at: llvm/include/llvm/BinaryFormat/COFF.h:492

void setHintNameRVA(uint32_t rva)

Description

Set the Hint/Name entry RVA and set isOrdinal to false.

Declared at: llvm/include/llvm/BinaryFormat/COFF.h:513

Parameters

uint32_t rva

void setOrdinal(uint16_t o)

Description

Set the ordinal value and set isOrdinal to true.

Declared at: llvm/include/llvm/BinaryFormat/COFF.h:501

Parameters

uint16_t o