Table of Contents

Class CallSiteSymbol

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

Provides information about the signature of an indirect call.

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

Constructors

CallSiteSymbol()

Initializes an empty call site symbol.

protected CallSiteSymbol()

CallSiteSymbol(ushort, int, CodeViewTypeRecord)

Creates a new call site info symbol.

public CallSiteSymbol(ushort sectionIndex, int offset, CodeViewTypeRecord functionType)

Parameters

sectionIndex ushort

The index of the section the call resides in.

offset int

The offset to the call.

functionType CodeViewTypeRecord

The type describing the shape of the function.

Properties

CodeViewSymbolType

Gets the type of symbol this record encodes.

public override CodeViewSymbolType CodeViewSymbolType { get; }

Property Value

CodeViewSymbolType

FunctionType

Gets or sets the type describing the shape of the function that is called.

public CodeViewTypeRecord? FunctionType { get; set; }

Property Value

CodeViewTypeRecord

Offset

Gets or sets the offset to the call.

public int Offset { get; set; }

Property Value

int

SectionIndex

Gets or sets the index of the section the call resides in.

public ushort SectionIndex { get; set; }

Property Value

ushort

Methods

GetFunctionType()

Obtains the function type of the call.

protected virtual CodeViewTypeRecord? GetFunctionType()

Returns

CodeViewTypeRecord

The type.

Remarks

This method is called upon initialization of the FunctionType property.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.