From adfca64fdbcfd75d42b7a069d27ddbb0228e9eff Mon Sep 17 00:00:00 2001 From: Julian Büning Date: Sat, 1 Apr 2023 13:22:38 +0200 Subject: change some obsolete KDAlloc comments - mappings were only shared in a former version of KDAlloc - `AllocationFactory(std::size_t, std::uint32_t)`'s second parameter is used for quarantine size, not the location of the mapping --- unittests/KDAlloc/sample.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'unittests/KDAlloc/sample.cpp') diff --git a/unittests/KDAlloc/sample.cpp b/unittests/KDAlloc/sample.cpp index d4bed00b..365e7e21 100644 --- a/unittests/KDAlloc/sample.cpp +++ b/unittests/KDAlloc/sample.cpp @@ -20,8 +20,7 @@ int sample_test() { #else int main() { #endif - // initialize a factory and an associated allocator (using the location "0" - // gives an OS-assigned location) + // initialize a factory and an associated allocator (1 TiB and no quarantine) klee::kdalloc::AllocatorFactory factory(static_cast(1) << 40, 0); klee::kdalloc::Allocator allocator = factory.makeAllocator(); -- cgit 1.4.1