Class ProcedureReferenceSymbol
- Namespace
- AsmResolver.Symbols.Pdb.Records
- Assembly
- AsmResolver.Symbols.Pdb.dll
Represents a procedure reference symbol stored in a PDB symbol stream.
public class ProcedureReferenceSymbol : CodeViewSymbol, ICodeViewSymbol
- Inheritance
-
ProcedureReferenceSymbol
- Implements
- Derived
- Inherited Members
Constructors
ProcedureReferenceSymbol(bool)
Initializes a new empty symbol.
protected ProcedureReferenceSymbol(bool local)
Parameters
local
boolIf true, this represents a local procedure reference.
ProcedureReferenceSymbol(uint, uint, ushort, Utf8String, bool)
Creates a new symbol.
public ProcedureReferenceSymbol(uint checksum, uint offset, ushort module, Utf8String name, bool local)
Parameters
checksum
uintThe checksum of the referenced symbol name.
offset
uintThe offset within the segment the symbol starts at.
module
ushortIndex of the module that contains this procedure record.
name
Utf8StringThe name of the symbol.
local
boolIf true, this represents a local procedure reference.
Properties
Checksum
Gets the checksum of the referenced symbol name. The checksum used is the one specified in the header of the global symbols stream or static symbols stream.
public uint Checksum { get; set; }
Property Value
CodeViewSymbolType
Gets the type of symbol this record encodes.
public override CodeViewSymbolType CodeViewSymbolType { get; }
Property Value
IsLocal
Is the symbol a Local Procedure Reference?
public bool IsLocal { get; }
Property Value
Module
Index of the module that contains this procedure record.
public ushort Module { get; set; }
Property Value
Name
Gets or sets the name of the symbol.
public Utf8String Name { get; set; }
Property Value
Offset
Gets the offset of the procedure symbol record from the beginning of the $$SYMBOL table for the module.
public uint Offset { get; set; }
Property Value
Methods
GetName()
Obtains the name of the symbol.
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.