forked from OSchip/llvm-project
[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 llvm-svn: 316620
This commit is contained in:
parent
f63ee64c4b
commit
f9008a3a06
|
@ -77,9 +77,6 @@ struct AP64 {
|
|||
};
|
||||
typedef SizeClassAllocator64<AP64> 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<NumRegions> ByteMap;
|
||||
|
|
Loading…
Reference in New Issue