diff options
author | Julian Büning <julian.buening@comsys.rwth-aachen.de> | 2023-04-01 13:22:38 +0200 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-04-18 13:09:24 +0100 |
commit | adfca64fdbcfd75d42b7a069d27ddbb0228e9eff (patch) | |
tree | 72fea41d16a28a10b14305fdf47af4cc3875a51a /unittests/KDAlloc/allocate.cpp | |
parent | 02b52541c5e8262e7f7a909d90fb898399d822bd (diff) | |
download | klee-adfca64fdbcfd75d42b7a069d27ddbb0228e9eff.tar.gz |
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
Diffstat (limited to 'unittests/KDAlloc/allocate.cpp')
-rw-r--r-- | unittests/KDAlloc/allocate.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/unittests/KDAlloc/allocate.cpp b/unittests/KDAlloc/allocate.cpp index 895f8215..c691e114 100644 --- a/unittests/KDAlloc/allocate.cpp +++ b/unittests/KDAlloc/allocate.cpp @@ -23,8 +23,7 @@ int allocate_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 MiB and no quarantine) klee::kdalloc::AllocatorFactory factory(static_cast<std::size_t>(1) << 20, 0); klee::kdalloc::Allocator allocator = factory.makeAllocator(); |