Module virtual_memory

Source

Structs§

DualMapping
Dual memory mapping used to map an anonymous memory into two memory regions where one region is read-only, but executable, and the second region is read+write, but not executable. See alloc_dual_mapping for more details.
HardenedRuntimeInfo
Info
Virtual memory information.
MemoryFlags

Enums§

HardenedRuntimeFlags
Hardened runtime flags.
ProtectJitAccess
Values that can be used with protect_jit_memory function.

Constants§

DUAL_MAPPING_FILTER

Functions§

alloc
alloc_dual_mapping
flush_instruction_cache
Flushes instruction cache in the given region.
info
protect
protect_jit_memory
Protects access of memory mapped with MAP_JIT flag for the current thread.
release
release_dual_mapping