Function
Gummemory_find_pointers
Declaration [src]
GArray*
gum_memory_find_pointers (
const GumMemoryRange* ranges,
guint n_ranges,
const gsize* values,
guint n_values,
gsize mask
)
Description [src]
Scans ranges for pointer-aligned words matching any of values, comparing under mask. Use G_MAXSIZE for an exact match, or e.g.
0x00007ffffffffff8 to strip arm64e PAC and non-pointer-isa bits.
Parameters
ranges-
Type: An array of
GumMemoryRangeThe
GumMemoryRangeinstances to scan.The length of the array is specified in the n_rangesargument.The data is owned by the caller of the function. n_ranges-
Type:
guintThe number of
ranges. values-
Type: An array of
gsizeThe pointer-width values to look for.
The length of the array is specified in the n_valuesargument.The data is owned by the caller of the function. n_values-
Type:
guintThe number of
values. mask-
Type:
gsizeBitmask applied to each scanned word and each value before comparing.