A stack frame procedure, or heavyweight procedure, allocates space for and saves on the stack its caller’s context—information about the part of a program that invokes the procedure, so that this information can be reinstated when the procedure finishes executing. Such a procedure not only saves and restores registers but also makes standard calls to other procedures. The stack frame has both a fixed part (whose size is known at compile time) and an optional, variable part. If the latter is not present, certain optimizations can be completed.
See Also: Buffer Overflows.
Microsoft Corporation. 3.1.2 Stack Frame Procedure. [Online, 2004.] Microsoft Corporation Website. http://msdn.microsoft.com/library/default.asp?url=/library/ en-us/csalpha98/html/3.1.2_stack_frame_procedure.asp.