aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/mem_pool/mem_pool.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-29 12:26:31 -0500
committerJack Lloyd <[email protected]>2018-12-29 12:26:31 -0500
commit8eeff9183e936384dca45e0923ac6f48e260eefd (patch)
tree93715de15cf970d988df0f925d82d645aec48bb3 /src/lib/utils/mem_pool/mem_pool.h
parentc3ed8aaf749345ce22e7407882be54f20f4a9640 (diff)
Add a fuzzer for Memory_Pool
Basically, test that it works. Accepts a sequence of alloc+free operations and verify that each pointer returned does not overlap with any other outstanding allocation, that the memory returned is zeroed, and that alignment is respected. Intended for testing #1800 but no reason not to land this first.
Diffstat (limited to 'src/lib/utils/mem_pool/mem_pool.h')
-rw-r--r--src/lib/utils/mem_pool/mem_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/mem_pool/mem_pool.h b/src/lib/utils/mem_pool/mem_pool.h
index a2c0008db..c9c836a9c 100644
--- a/src/lib/utils/mem_pool/mem_pool.h
+++ b/src/lib/utils/mem_pool/mem_pool.h
@@ -13,7 +13,7 @@
namespace Botan {
-class Memory_Pool final
+class BOTAN_TEST_API Memory_Pool final
{
public:
/**