Table of Contents

Class VTableFixup

Namespace
AsmResolver.PE.DotNet.VTableFixups
Assembly
AsmResolver.PE.dll

Represents a VTable declared by the VTable fixups directory.

public class VTableFixup : SegmentBase, ISegment, IOffsetProvider, IWritable
Inheritance
VTableFixup
Implements
Inherited Members

Constructors

VTableFixup(VTableType)

Creates a new VTable fixup.

public VTableFixup(VTableType type)

Parameters

type VTableType

Properties

Tokens

Gets a list of the tokens added to this vtable.

public VTableTokenCollection Tokens { get; }

Property Value

VTableTokenCollection

Methods

FromReader(PEReaderContext, ref BinaryStreamReader)

Reads a single vtable from the provided input stream.

public static VTableFixup? FromReader(PEReaderContext context, ref BinaryStreamReader reader)

Parameters

context PEReaderContext

The reader context.

reader BinaryStreamReader

The input stream.

Returns

VTableFixup

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 BinaryStreamWriter

The output stream to write the data to.