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
Utf8StringThe name of the group.
segmentIndex
ushortThe index of the segment the group resides in.
offset
uintThe offset within the segment.
size
uintThe size of the group in bytes.
characteristics
SectionFlagsThe characteristics describing the group.
Properties
Characteristics
Gets or sets the characteristics describing the group.
public SectionFlags Characteristics { get; set; }
Property Value
CodeViewSymbolType
Gets the type of symbol this record encodes.
public override CodeViewSymbolType CodeViewSymbolType { get; }
Property Value
Name
Gets or sets the name of the group.
public Utf8String? Name { get; set; }
Property Value
Offset
Gets or sets the offset within the segment the group starts at.
public uint Offset { get; set; }
Property Value
SegmentIndex
Gets or sets the index of the segment the group resides in.
public ushort SegmentIndex { get; set; }
Property Value
Size
Gets or sets the size of the group in bytes.
public uint Size { get; set; }
Property Value
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.