Table of Contents

Class DebugInfo

Namespace
AsmResolver.PE.DotNet.ReadyToRun
Assembly
AsmResolver.PE.dll

Provides additional debug information to a precompiled method body.

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

Properties

Bounds

Gets a collection of bounds information associated to the method.

public IList<DebugInfoBounds> Bounds { get; }

Property Value

IList<DebugInfoBounds>

Variables

Gets a collection of native variable information associated to the method.

public IList<DebugInfoVariable> Variables { get; }

Property Value

IList<DebugInfoVariable>

Methods

GetBounds()

Obtains the bounds information of the method.

protected virtual IList<DebugInfoBounds> GetBounds()

Returns

IList<DebugInfoBounds>

The bounds.

Remarks

This method is called upon initialization of the Bounds property.

GetPhysicalSize()

Computes the number of bytes that the structure contains.

public override uint GetPhysicalSize()

Returns

uint

The number of bytes.

GetVariables()

Obtains the native variable information of the method.

protected virtual IList<DebugInfoVariable> GetVariables()

Returns

IList<DebugInfoVariable>

The variables.

Remarks

This method is called upon initialization of the Variables property.

UpdateOffsets(in RelocationParameters)

Assigns a new file and virtual offset to the segment and all its sub-components.

public override void UpdateOffsets(in RelocationParameters parameters)

Parameters

parameters RelocationParameters

The parameters containing the new offset information for the segment.

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.