From 56c02e11840e8b5778c17314a26e729bcb701fc1 Mon Sep 17 00:00:00 2001 From: Kostya Kortchinsky Date: Wed, 25 Oct 2017 22:00:26 +0000 Subject: [scudo] Remove comment about security of the 32-bit allocator Summary: The 32-bit allocator is now on par with the 64-bit in terms of security (chunks randomization is done, batches separation is done). Unless objection, the comment can go away. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D39303 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@316620 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/scudo/scudo_allocator.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib') diff --git a/lib/scudo/scudo_allocator.h b/lib/scudo/scudo_allocator.h index 2f317d24a..a517058ab 100644 --- a/lib/scudo/scudo_allocator.h +++ b/lib/scudo/scudo_allocator.h @@ -77,9 +77,6 @@ struct AP64 { }; typedef SizeClassAllocator64 PrimaryAllocator; #else -// Currently, the 32-bit Sanitizer allocator has not yet benefited from all the -// security improvements brought to the 64-bit one. This makes the 32-bit -// version of Scudo slightly less toughened. static const uptr NumRegions = SANITIZER_MMAP_RANGE_SIZE >> RegionSizeLog; # if SANITIZER_WORDSIZE == 32 typedef FlatByteMap ByteMap; -- cgit v1.2.3