Table of Contents

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 bool

If 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 uint

The checksum of the referenced symbol name.

offset uint

The offset within the segment the symbol starts at.

module ushort

Index of the module that contains this procedure record.

name Utf8String

The name of the symbol.

local bool

If 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

uint

CodeViewSymbolType

Gets the type of symbol this record encodes.

public override CodeViewSymbolType CodeViewSymbolType { get; }

Property Value

CodeViewSymbolType

IsLocal

Is the symbol a Local Procedure Reference?

public bool IsLocal { get; }

Property Value

bool

Module

Index of the module that contains this procedure record.

public ushort Module { get; set; }

Property Value

ushort

Name

Gets or sets the name of the symbol.

public Utf8String Name { get; set; }

Property Value

Utf8String

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

uint

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.