Function

Gumkernel_scan

Declaration [src]

void
gum_kernel_scan (
  const GumMemoryRange* range,
  const GumMatchPattern* pattern,
  GumMemoryScanMatchFunc func,
  gpointer user_data
)

Description [src]

Scans the specified kernel memory range for occurrences of pattern, calling func with each match.

Parameters

range

Type: GumMemoryRange

The GumMemoryRange to scan.

The data is owned by the caller of the function.
pattern

Type: GumMatchPattern

The GumMatchPattern to look for occurrences of.

The data is owned by the caller of the function.
func

Type: GumMemoryScanMatchFunc

Function to process each match.

user_data

Type: gpointer

Data to pass to func.

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