Function

Gummemory_query_protection

Declaration [src]

gboolean
gum_memory_query_protection (
  gconstpointer address,
  GumPageProtection* prot
)

Description [src]

Queries the page protection in effect at address. Use gum_memory_query_region() to also learn how far it extends.

Parameters

address

Type: gconstpointer

Address to query.

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

Type: GumPageProtection

Return location for the page protection.

The argument will be set by the function.
The caller of the function takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: gboolean

Whether the query was successful.