Table of Contents

Class CoffGroupSymbol

Namespace
AsmResolver.Symbols.Pdb.Records
Assembly
AsmResolver.Symbols.Pdb.dll

Represents a single Common Object File Format (COFF) group symbol.

public class CoffGroupSymbol : CodeViewSymbol, ICodeViewSymbol
Inheritance
CoffGroupSymbol
Implements
Derived
Inherited Members

Constructors

CoffGroupSymbol()

Initializes an empty COFF group symbol.

protected CoffGroupSymbol()

CoffGroupSymbol(Utf8String, ushort, uint, uint, SectionFlags)

Creates a new COFF group symbol.

public CoffGroupSymbol(Utf8String name, ushort segmentIndex, uint offset, uint size, SectionFlags characteristics)

Parameters

name Utf8String

The name of the group.

segmentIndex ushort

The index of the segment the group resides in.

offset uint

The offset within the segment.

size uint

The size of the group in bytes.

characteristics SectionFlags

The characteristics describing the group.

Properties

Characteristics

Gets or sets the characteristics describing the group.

public SectionFlags Characteristics { get; set; }

Property Value

SectionFlags

CodeViewSymbolType

Gets the type of symbol this record encodes.

public override CodeViewSymbolType CodeViewSymbolType { get; }

Property Value

CodeViewSymbolType

Name

Gets or sets the name of the group.

public Utf8String? Name { get; set; }

Property Value

Utf8String

Offset

Gets or sets the offset within the segment the group starts at.

public uint Offset { get; set; }

Property Value

uint

SegmentIndex

Gets or sets the index of the segment the group resides in.

public ushort SegmentIndex { get; set; }

Property Value

ushort

Size

Gets or sets the size of the group in bytes.

public uint Size { get; set; }

Property Value

uint

Methods

GetName()

Obtains the name of the group.

protected virtual Utf8String? GetName()

Returns

Utf8String

The name

Remarks

This method is called upon initialization of the Name property.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.