Skip to main content

Module protection

Module protection 

Source
Expand description

Page protection flags and utilities Copyright (C) RainSTR Studio 2025, All Rights Reserved.

This module provides page protection bit definitions and utilities for managing memory access permissions.

Enums§

Protection
Page protection flags with human-readable descriptions

Functions§

executable_flags
Create executable page flags
flags_can_execute
Check if page table flags allow execute access
flags_can_read
Check if page table flags allow read access
flags_can_write
Check if page table flags allow write access
kernel_flags
Create kernel page flags (always executable, can be read-write or read-only)
read_only_flags
Create read-only page flags (for both kernel and user)
read_write_execute_flags
Create read-write-executable page flags
user_flags
Create user page flags with specified protection
writable_flags
Create writable page flags (for both kernel and user)