Name Description Size
info.txt 143
mem_pool.cpp @brief Prohibits access to unused memory pages in Botan's memory pool If BOTAN_MEM_POOL_USE_MMU_PROTECTIONS is defined, the Memory_Pool class used for mlock'ed memory will use OS calls to set page permissions so as to prohibit access to pages on the free list, then enable read/write access when the page is set to be used. This will turn (some) use after free bugs into a crash. The additional syscalls have a substantial performance impact, which is why this option is not enabled by default. It is used when built for running in valgrind or debug assertions are enabled. 13558
mem_pool.h Initialize a memory pool. The memory is not owned by *this, it must be freed by the caller. @param pages a list of pages to allocate from @param page_size the system page size, each page should point to exactly this much memory. 1301