Function

Gummake_probe_listener

Declaration [src]

GumInvocationListener*
gum_make_probe_listener (
  GumInvocationCallback on_hit,
  gpointer data,
  GDestroyNotify data_destroy
)

Description [src]

Creates a new probe listener.

Parameters

on_hit

Type: GumInvocationCallback

Callback for each invocation.

data

Type: gpointer

Data to pass to on_hit.

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

Type: GDestroyNotify

Function to destroy data.

Return value

Type: GumInvocationListener

The newly created listener.

The caller of the function takes ownership of the data, and is responsible for freeing it.