Class

GumMemoryMap

Description [src]

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

A snapshot of the process’s mapped memory ranges matching a given page protection, for fast containment checks.

Create one for the protection you care about — for example readable and executable memory — then ask whether an address range falls within mapped memory with gum_memory_map_contains(). Refresh it with gum_memory_map_update() after the memory layout may have changed.

Ancestors

Constructors

gum_memory_map_new

Creates a memory map of the process’s currently mapped ranges whose protection includes prot.

Instance methods

gum_memory_map_contains

Checks whether range lies entirely within a single mapped range of the map.

gum_memory_map_update

Refreshes the map from the process’s current memory layout. Call this after memory may have been mapped or unmapped, since a stale map can give wrong answers.

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 GumMemoryMapClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.