Table of Contents

Class SerializedImportedModule

Namespace
AsmResolver.PE.Imports
Assembly
AsmResolver.PE.dll

Provides an implementation of a module import entry present in a PE file.

public class SerializedImportedModule : ImportedModule
Inheritance
SerializedImportedModule
Inherited Members

Constructors

SerializedImportedModule(PEReaderContext, ref BinaryStreamReader)

Reads a module import entry from an input stream.

public SerializedImportedModule(PEReaderContext context, ref BinaryStreamReader reader)

Parameters

context PEReaderContext

The reader context.

reader BinaryStreamReader

The input stream.

Fields

ModuleImportSize

The amount of bytes a single entry uses in the import directory table.

public const uint ModuleImportSize = 20

Field Value

uint

Properties

IsEmpty

Determines whether the module import is empty, that is whether every field is 0.

public bool IsEmpty { get; }

Property Value

bool

Remarks

The PE file format uses an empty module import entry to indicate the end of the list of imported modules.

Methods

GetSymbols()

Obtains the collection of members that were imported.

protected override IList<ImportedSymbol> GetSymbols()

Returns

IList<ImportedSymbol>

The members list.

Remarks

This method is called to initialize the value of Symbols property.