Table of Contents

Class FrameCookieSymbol

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

Describes the position and type of a security cookie within a stack frame.

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

Constructors

FrameCookieSymbol()

Initializes an empty frame cookie symbol.

protected FrameCookieSymbol()

FrameCookieSymbol(int, ushort, FrameCookieType, byte)

Creates a new frame cookie symbol.

public FrameCookieSymbol(int frameOffset, ushort register, FrameCookieType cookieType, byte attributes)

Parameters

frameOffset int

The offset relative to the frame pointer.

register ushort

The register storing the cookie.

cookieType FrameCookieType

The type of cookie that is computed.

attributes byte

The attributes associated to the cookie.

Properties

Attributes

Gets or sets attributes describing the cookie.

public byte Attributes { get; set; }

Property Value

byte

Remarks

This flags field is not well understood.

CodeViewSymbolType

Gets the type of symbol this record encodes.

public override CodeViewSymbolType CodeViewSymbolType { get; }

Property Value

CodeViewSymbolType

CookieType

Gets or sets the type of cookie that is computed.

public FrameCookieType CookieType { get; set; }

Property Value

FrameCookieType

FrameOffset

Gets or sets the offset relative to the frame pointer where the cookie is stored.

public int FrameOffset { get; set; }

Property Value

int

Register

Gets or sets the register storing the cookie.

public ushort Register { get; set; }

Property Value

ushort

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.