Function

Gumkernel_enumerate_module_ranges

Declaration [src]

void
gum_kernel_enumerate_module_ranges (
  const gchar* module_name,
  GumPageProtection prot,
  GumFoundKernelModuleRangeFunc func,
  gpointer user_data
)

Description [src]

Enumerates kernel memory ranges of the specified module that satisfy prot, calling func with GumKernelModuleRangeDetails about each such range found.

Parameters

module_name

Type: const gchar*

Name of module, or NULL for the kernel itself.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
prot

Type: GumPageProtection

Bitfield specifying the minimum protection.

func

Type: GumFoundKernelModuleRangeFunc

Function called with GumKernelModuleRangeDetails.

user_data

Type: gpointer

Data to pass to func.

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