April 2002
Intermediate to advanced
816 pages
20h 56m
English
Stacks are used by computer systems to keep track of the execution of individual threads within the system.
Software, such as debuggers and the .NET Framework security system, can examine a stack to determine the set of nested calls that brought the thread to its current state. Each method in the chain is represented by a frame on the stack.
The .NET Framework security system checks that every method on the stack (or more correctly, every assembly) can satisfy the demand being made. This safeguards against the misuse of trusted but poorly written code by untrusted malicious code (luring attacks).
Stack walk modification operators (such as Assert) can be used by trusted code to control the stack walk. This is principally used to disable ...