struct UNWIND_INFO
Visual Studio 2012
The unwind data info structure is used to record the effects a function has on the stack pointer and where the nonvolatile registers are saved on the stack:
|
UBYTE: 3 |
Version |
|
UBYTE: 5 |
Flags |
|
UBYTE |
Size of prolog |
|
UBYTE |
Count of unwind codes |
|
UBYTE: 4 |
Frame Register |
|
UBYTE: 4 |
Frame Register offset (scaled) |
|
USHORT * n |
Unwind codes array |
|
variable |
Can either be of form (1) or (2) below |
(1) Exception Handler
|
ULONG |
Address of exception handler |
|
variable |
Language-specific handler data (optional) |
(2) Chained Unwind Info
|
ULONG |
Function start address |
|
ULONG |
Function end address |
|
ULONG |
Unwind info address |
The UNWIND_INFO structure must be DWORD aligned in memory. The meaning of each field is as follows: