Function

GumModuleRegistryset_rtld_notifier_offsets

Declaration [src]

void
gum_module_registry_set_rtld_notifier_offsets (
  const guint* offsets,
  guint n_offsets
)

Description [src]

Overrides the dynamic-linker notifier hook location(s) used when the registry is activated. Instead of hooking the well-known notifier stub, Frida hooks the given call sites, each computed as the dynamic linker base plus an offset.

Must be called before the first gum_module_registry_obtain(), as activation (and thus notifier hooking) happens on first obtain.

Parameters

offsets

Type: An array of guint

Offsets, relative to the dynamic linker base, of call sites that invoke the rtld notifier.

The length of the array is specified in the n_offsets argument.
The data is owned by the caller of the function.
n_offsets

Type: guint

Number of entries in offsets.