Module cfi

Module cfi 

Source
Expand description

Control Flow Integrity (CFI) implementation for hardened execution.

Structs§

CfiLabel
CFI label for function identification.
CfiProtectedFn
CFI-protected function pointer.
CfiProtection
CFI protection implementation.
CfiShadowStack
CFI shadow stack for return address protection.
CfiStats
CFI statistics.
IndirectCallGuard
CFI verification for indirect function calls.
ReturnAddressGuard
Return address protection for function returns.

Statics§

THREAD_SHADOW_STACK
Thread-local shadow stack (would be allocated per thread).

Functions§

get_cfi_stats
Get CFI protection statistics.
init_cfi_protection
Initialize CFI protection.