ExceptionHandlerInfo Structure Fling OS
Represents an Exception Handler Info.

Namespace: Kernel
Assembly: Kernel (in Kernel.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public struct ExceptionHandlerInfo

The ExceptionHandlerInfo type exposes the following members.

Fields

  NameDescription
Public fieldEBP
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.
Public fieldESP
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.
Public fieldFilterAddress
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.
Public fieldHandlerAddress
The address of the first op of the handler / a pointer to the first op of the handler.
Public fieldInHandler
Whether execution is currently inside the try-section or the handler-section of this exception handler info.
Public fieldPrevHandlerAddress
A pointer to the previous exception handler info (i.e. the address of the previous info).
Top
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