⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module memory_protection

Module memory_protection 

Source
Expand description

Memory Protection Features

Implements ASLR, stack canaries, and other memory protection mechanisms.

Structs§

Aslr
ASLR (Address Space Layout Randomization) manager
DepEnforcement
DEP (Data Execution Prevention) / NX enforcement.
GuardPage
Guard page for detecting stack overflow
Kpti
KPTI (Kernel Page Table Isolation) support for Meltdown mitigation.
MemoryProtection
Memory protection manager
SpectreMitigation
Spectre v1 mitigation helpers.
StackCanary
Stack canary for detecting buffer overflows
WxPolicy
W^X (Write XOR Execute) policy enforcement.

Enums§

RegionType
Address space region types for ASLR

Functions§

get_memory_protection
Get global memory protection instance
init
Initialize memory protection