Function

GumExceptionHandler

Declaration

gboolean
(* GumExceptionHandler) (
  GumExceptionDetails* details,
  gpointer user_data
)

Description [src]

The type of function invoked when an exception occurs. A handler may inspect and modify details — including its CPU context — and return TRUE to mark the exception handled so execution resumes, or FALSE to let the next handler try.

Parameters

details

Type: GumExceptionDetails

Details of the exception.

The data is owned by the caller of the function.
user_data

Type: gpointer

Data passed to gum_exceptor_add().

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the exception was handled.