Class ImportAddressDirectoryBuffer
- Namespace
- AsmResolver.PE.Imports.Builder
- Assembly
- AsmResolver.PE.dll
Provides a mechanism for building an import address directory in a PE file.
public class ImportAddressDirectoryBuffer : ImportDirectoryBufferBase, ISegment, IOffsetProvider, IWritable, IImportAddressProvider
- Inheritance
-
ImportAddressDirectoryBuffer
- Implements
- Inherited Members
Constructors
ImportAddressDirectoryBuffer(HintNameTableBuffer, bool)
Creates a new import address directory buffer, using the provided hint-name table to obtain addresses to names of an imported member.
public ImportAddressDirectoryBuffer(HintNameTableBuffer hintNameTable, bool is32Bit)
Parameters
hintNameTable
HintNameTableBufferThe hint-name table that is used to reference names of modules or members.
is32Bit
boolIndicates the import directory should use 32-bit addresses or 64-bit addresses.
Methods
CreateThunkTable()
Creates a new thunk table buffer.
protected override ThunkTableBuffer CreateThunkTable()
Returns
- ThunkTableBuffer
The buffer.
UpdateOffsets(in RelocationParameters)
Assigns a new file and virtual offset to the segment and all its sub-components.
public override void UpdateOffsets(in RelocationParameters parameters)
Parameters
parameters
RelocationParametersThe parameters containing the new offset information for the segment.