MpX
MPX, short for Memory Protection Extensions, is a hardware-assisted memory-safety feature introduced by Intel to provide bounds checking for pointers in C and C++ programs. The feature set includes new bound registers and instructions that allow the processor to enforce pointer bounds at runtime, helping detect out-of-bounds accesses, underflows, and overflows that can cause memory corruption.
Operation: At runtime, each pointer can have bound information stored in bound registers BND0–BND3 and a bounds
Hardware and software: MPX requires Intel processors with MPX support and operating-system support for bounds tables.
Adoption and limitations: MPX provides hardware-assisted memory safety but introduces runtime overhead and added memory usage.