Method

GumModuleenumerate_exports_with_prefix

Declaration [src]

void
gum_module_enumerate_exports_with_prefix (
  GumModule* self,
  const gchar* prefix,
  GumFoundExportFunc func,
  gpointer user_data
)

Description [src]

Enumerates the module’s exports whose names start with prefix, calling func for each one. Enumeration stops if func returns FALSE. A backend whose export table is organized by name walks only the matching part of it, which is cheaper than enumerating everything and filtering.

Parameters

prefix

Type: const gchar*

Name prefix that exports must start with.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
func

Type: GumFoundExportFunc

Function called with GumExportDetails.

user_data

Type: gpointer

Data to pass to func.

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