Home
last modified time | relevance | path

Searched refs:kMaxAllowedMallocSize (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_allocator.cc31 static const uptr kMaxAllowedMallocSize = 1UL << 30; variable
33 static const uptr kMaxAllowedMallocSize = 4UL << 30;
35 static const uptr kMaxAllowedMallocSize = 8UL << 30;
76 ReportAllocationSizeTooBig(size, kMaxAllowedMallocSize, &stack); in ReportAllocationSizeTooBig()
83 if (size > kMaxAllowedMallocSize) in Allocate()
121 if (new_size > kMaxAllowedMallocSize) { in Reallocate()
/freebsd-12.1/contrib/compiler-rt/lib/msan/
H A Dmsan_allocator.cc49 static const uptr kMaxAllowedMallocSize = 2UL << 30; variable
73 static const uptr kMaxAllowedMallocSize = 8UL << 30; variable
88 static const uptr kMaxAllowedMallocSize = 2UL << 30; // 2G variable
102 static const uptr kMaxAllowedMallocSize = 2UL << 30; // 2G variable
146 if (size > kMaxAllowedMallocSize) { in MsanAllocate()
151 ReportAllocationSizeTooBig(size, kMaxAllowedMallocSize, stack); in MsanAllocate()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_mman.cc154 static constexpr uptr kMaxAllowedMallocSize = 1ull << 40; variable
158 if (sz >= kMaxAllowedMallocSize || align >= kMaxAllowedMallocSize) { in user_alloc_internal()
162 ReportAllocationSizeTooBig(sz, kMaxAllowedMallocSize, &stack); in user_alloc_internal()
/freebsd-12.1/contrib/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.h53 static const uptr kMaxAllowedMallocSize = 2UL << 30; // 2G in DECLARE_REAL() local
H A Dhwasan_allocator.cc138 if (orig_size > kMaxAllowedMallocSize) { in HwasanAllocate()
144 ReportAllocationSizeTooBig(orig_size, kMaxAllowedMallocSize, stack); in HwasanAllocate()
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_allocator.cc241 static const uptr kMaxAllowedMallocSize = member
439 if (size > kMaxAllowedMallocSize || needed_size > kMaxAllowedMallocSize) { in Allocate()
445 ReportAllocationSizeTooBig(size, needed_size, kMaxAllowedMallocSize, in Allocate()