Searched refs:max_malloc_size (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_allocator.cpp | 39 static uptr max_malloc_size; variable 46 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20, in InitializeAllocator() 49 max_malloc_size = kMaxAllowedMallocSize; in InitializeAllocator() 87 ReportAllocationSizeTooBig(size, max_malloc_size, &stack); in ReportAllocationSizeTooBig() 94 if (size > max_malloc_size) in Allocate() 132 if (new_size > max_malloc_size) { in Reallocate()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_allocator.cpp | 69 static uptr max_malloc_size; variable 75 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20, in dfsan_allocator_init() 78 max_malloc_size = kMaxAllowedMallocSize; in dfsan_allocator_init() 92 if (size > max_malloc_size) { in DFsanAllocate() 99 ReportAllocationSizeTooBig(size, max_malloc_size, &stack); in DFsanAllocate()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_allocator.cpp | 153 static uptr max_malloc_size; variable 159 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20, in MsanAllocatorInit() 162 max_malloc_size = kMaxAllowedMallocSize; in MsanAllocatorInit() 186 if (UNLIKELY(size > max_malloc_size)) { in MsanAllocate() 192 ReportAllocationSizeTooBig(size, max_malloc_size, stack); in MsanAllocate()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocator.cpp | 48 static uptr max_malloc_size; variable 158 max_malloc_size = common_flags()->max_allocation_size_mb << 20; in HwasanAllocatorInit() 159 max_malloc_size = Min(max_malloc_size, kMaxAllowedMallocSize); in HwasanAllocatorInit() 161 max_malloc_size = kMaxAllowedMallocSize; in HwasanAllocatorInit() 188 if (UNLIKELY(orig_size > max_malloc_size)) { in HwasanAllocate() 194 ReportAllocationSizeTooBig(orig_size, max_malloc_size, stack); in HwasanAllocate()
|