Class

GumModuleMap

Description [src]

final class Gum.ModuleMap : GObject.Object
{
  /* No available fields */
}

A snapshot of the process’s loaded modules, ordered for fast lookup of the module containing a given address.

The map is populated when created and can be refreshed with gum_module_map_update() after modules are loaded or unloaded. A filtered map retains only the modules accepted by a GumModuleMapFilterFunc, handy for narrowing lookups to a subset such as your own modules.

Ancestors

Constructors

gum_module_map_new

Creates a module map covering all of the process’s currently loaded modules.

gum_module_map_new_filtered

Creates a module map containing only the modules for which func returns TRUE.

Instance methods

gum_module_map_find

Finds the module containing the given address.

gum_module_map_get_values

Returns the modules in the map.

gum_module_map_update

Refreshes the map from the process’s current set of loaded modules. Call this after modules may have been loaded or unloaded, since lookups through a stale map can otherwise return wrong results.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GumModuleMapClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.