SLPPlugin.update_permissions

SLPPlugin.update_permissions(gpa, r=False, w=False, x=False)[source]

Update page permissions for a given GPA

This function allows the caller to request page permissions to be updated.

Parameters
  • gpa (int) – The GPA for which permissions are requested

  • r (bool) – Whether the page should be readable

  • w (bool) – Whether the page should be writeable

  • x (bool) – Whether the page should be executable

Raises

SLPPermUpdateViolation – If the call violates the W/X mutual exclusion rule