Table of Contents

Class RsdsDataSegment

Namespace
AsmResolver.PE.Debug
Assembly
AsmResolver.PE.dll

Represents the CodeView data in RSDS format

public class RsdsDataSegment : CodeViewDataSegment, IDebugDataSegment, ISegment, IOffsetProvider, IWritable
Inheritance
RsdsDataSegment
Implements
Inherited Members

Properties

Age

Gets or sets the PDB age

public uint Age { get; set; }

Property Value

uint

Guid

Gets or sets the PDB GUID

public Guid Guid { get; set; }

Property Value

Guid

Path

Gets or sets the PDB path

public string? Path { get; set; }

Property Value

string

Signature

Gets the PDB Signature

public override CodeViewSignature Signature { get; }

Property Value

CodeViewSignature

Methods

FromReader(PEReaderContext, ref BinaryStreamReader)

Initializes a new instance of RsdsDataSegment

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

Parameters

context PEReaderContext

Context for the reader

reader BinaryStreamReader

The input stream to read from.

Returns

RsdsDataSegment

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.