Class ExportAddressTableBuffer
- Namespace
- AsmResolver.PE.Exports.Builder
- Assembly
- AsmResolver.PE.dll
Provides a mechanism for building up a table of exported addresses in the export data directory of a portable executable (PE) file.
public class ExportAddressTableBuffer : SegmentBase, ISegment, IOffsetProvider, IWritable
- Inheritance
-
ExportAddressTableBuffer
- Implements
- Inherited Members
Constructors
ExportAddressTableBuffer(NameTableBuffer)
Constructs a new export address table buffer.
public ExportAddressTableBuffer(NameTableBuffer nameTableBuffer)
Parameters
nameTableBuffer
NameTableBufferThe name table buffer to use for obtaining the RVAs of forwarder symbols.
Methods
AddSymbol(ExportedSymbol)
Adds a single symbol to the address table buffer.
public void AddSymbol(ExportedSymbol symbol)
Parameters
symbol
ExportedSymbolThe symbol to add.
GetPhysicalSize()
Computes the number of bytes that the structure contains.
public override uint GetPhysicalSize()
Returns
- uint
The number of bytes.
Write(BinaryStreamWriter)
Serializes the structure to an output stream.
public override void Write(BinaryStreamWriter writer)
Parameters
writer
BinaryStreamWriterThe output stream to write the data to.