From 8eeff9183e936384dca45e0923ac6f48e260eefd Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 29 Dec 2018 12:26:31 -0500 Subject: 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. --- src/lib/utils/mem_pool/mem_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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: /** -- cgit v1.2.3