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
intThe offset relative to the frame pointer.
register
ushortThe register storing the cookie.
cookieType
FrameCookieTypeThe type of cookie that is computed.
attributes
byteThe attributes associated to the cookie.
Properties
Attributes
Gets or sets attributes describing the cookie.
public byte Attributes { get; set; }
Property Value
Remarks
This flags field is not well understood.
CodeViewSymbolType
Gets the type of symbol this record encodes.
public override CodeViewSymbolType CodeViewSymbolType { get; }
Property Value
CookieType
Gets or sets the type of cookie that is computed.
public FrameCookieType CookieType { get; set; }
Property Value
FrameOffset
Gets or sets the offset relative to the frame pointer where the cookie is stored.
public int FrameOffset { get; set; }
Property Value
Register
Gets or sets the register storing the cookie.
public ushort Register { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.