bit::memory
|
This type is used for checking boundaries around memory allocations to determine if buffer-overflows have occurred. More...
#include <debug_bounds_checker.hpp>
Public Member Functions | |
void | prepare_front_fence (void *p, std::size_t size) noexcept |
void | prepare_back_fence (void *p, std::size_t size) noexcept |
void | check_front_fence (const allocator_info &info, void *p, std::size_t size) noexcept |
void | check_back_fence (const allocator_info &info, void *p, std::size_t size) noexcept |
Static Public Attributes | |
static constexpr std::size_t | front_size = FrontSize |
static constexpr std::size_t | back_size = BackSize |
This type is used for checking boundaries around memory allocations to determine if buffer-overflows have occurred.
On any failure, the buffer overflow handler will be called
Definition at line 56 of file debug_bounds_checker.hpp.