Represents an Exception Handler Info.
Namespace: KernelAssembly: Kernel (in Kernel.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The ExceptionHandlerInfo type exposes the following members.
Fields
Name | Description | |
---|---|---|
![]() | EBP |
The value of EBP when the handler info was created.
The EBP register is restored to this value when a handler is entered or re-entered.
|
![]() | ESP |
The value of ESP when the handler info was created. This value of
ESP is also a pointer to the first byte of this Exception Handler Info structure.
The ESP register is restored to this value when a handler is entered or re-entered.
|
![]() | FilterAddress |
0x00000000 = indicates this is a finally handler.
0xFFFFFFFF = indicates this is a catch handler with no filter.
0xXXXXXXXX = The address of the first op of the filter - has not actually been implemented! Behaviour for such values is undetermined.
|
![]() | HandlerAddress |
The address of the first op of the handler / a pointer to the first op of the handler.
|
![]() | InHandler |
Whether execution is currently inside the try-section or the handler-section of this exception handler info.
|
![]() | PrevHandlerAddress |
A pointer to the previous exception handler info (i.e. the address of the previous info).
|
Remarks
This structure is so closely linked to the ASM code that modifying it is a big NO!
It is created by the AddExceptionHandlerInfo method on the stack but could technically be put anywhere in memory. The order of the fields in the structure matters!
See Also