Class ExportDirectory
- Namespace
- AsmResolver.PE.Exports
- Assembly
- AsmResolver.PE.dll
Represents the data directory containing exported symbols that other images can access through dynamic linking.
public class ExportDirectory
- Inheritance
-
ExportDirectory
- Derived
- Inherited Members
Constructors
ExportDirectory()
Initializes a new empty symbol export directory.
protected ExportDirectory()
ExportDirectory(string)
Creates a new symbol export directory.
public ExportDirectory(string name)
Parameters
name
stringThe name of the library exporting the symbols.
Properties
BaseOrdinal
Gets or sets the base ordinal of the exports directory.
public uint BaseOrdinal { get; set; }
Property Value
Entries
Gets an ordered list of symbols that are exported by the portable executable (PE) image.
public IList<ExportedSymbol> Entries { get; }
Property Value
ExportFlags
Gets or sets the flags associated to the export directory.
public uint ExportFlags { get; set; }
Property Value
Remarks
This field is reserved and should be zero.
MajorVersion
Gets or sets the user major version number.
public ushort MajorVersion { get; set; }
Property Value
MinorVersion
Gets or sets the user minor version number.
public ushort MinorVersion { get; set; }
Property Value
Name
Gets or sets the name of the exports directory.
public string? Name { get; set; }
Property Value
TimeDateStamp
Gets or sets the time and date that the exports data was created.
public uint TimeDateStamp { get; set; }
Property Value
Methods
GetExports()
Obtains the list of exported symbols defined by the export directory.
protected virtual IList<ExportedSymbol> GetExports()
Returns
- IList<ExportedSymbol>
The exported symbols..
Remarks
This method is called upon initialization of the Entries property.
GetName()
Obtains the name of the library that is exporting symbols.
protected virtual string? GetName()
Returns
- string
The name.
Remarks
This method is called upon initialization of the Name property.