| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | wrappers_cpp.cpp | 17 #include "scudo/interface.h" 39 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 44 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]() 50 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 56 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::NewArray); 61 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New, in operator delete[]() 62 static_cast<scudo::uptr>(align)); in operator delete[]() 67 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator delete[]() 68 static_cast<scudo::uptr>(align)); in operator delete[]() 74 void *Ptr = Allocator.allocate(size, scudo in operator delete() [all...] |
| H A D | wrappers_c.inc | 52 scudo::uptr Product; 53 if (UNLIKELY(scudo::checkForCallocOverflow(size, nmemb, &Product))) { 58 scudo::reportCallocOverflow(nmemb, size); 60 void *Ptr = SCUDO_ALLOCATOR.allocate(Product, scudo::Chunk::Origin::Malloc, 63 return scudo::setErrnoOnNull(Ptr); 68 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc); 73 scudo::StatCounters Stats; 76 Info.hblkhd = static_cast<__scudo_mallinfo_data_t>(Stats[scudo::StatMapped]); 80 Info.fsmblks = static_cast<__scudo_mallinfo_data_t>(Stats[scudo::StatFree]); 83 static_cast<__scudo_mallinfo_data_t>(Stats[scudo::StatAllocated]); [all …]
|
| H A D | mem_map.cpp | 13 namespace scudo { namespace 18 ::scudo::map(reinterpret_cast<void *>(Addr), Size, Name, Flags, &Data); in mapImpl() 38 ::scudo::unmap(reinterpret_cast<void *>(Addr), Size, UNMAP_ALL, &Data); in unmapImpl() 44 ::scudo::map(reinterpret_cast<void *>(Addr), Size, Name, Flags, &Data); in remapImpl() 53 return ::scudo::releasePagesToOS(MappedBase, From - MappedBase, Size, &Data); in releaseAndZeroPagesToOSImpl() 57 return ::scudo::setMemoryPermission(Addr, Size, Flags); in setMemoryPermissionImpl() 61 ::scudo::unmap(reinterpret_cast<void *>(Base), Capacity, UNMAP_ALL, &Data); in releaseImpl() 66 void *Reserved = ::scudo::map(reinterpret_cast<void *>(Addr), Size, Name, in createImpl()
|
| H A D | internal_defs.h | 79 namespace scudo { 111 scudo::reportCheckFailed(__FILE__, __LINE__, #C1 " " #Op " " #C2, \ 112 (scudo::u64)C1, (scudo::u64)C2); \ 113 scudo::die(); \
|
| H A D | wrappers_c.cpp | 17 #include "scudo/interface.h" 31 scudo::Allocator<scudo::Config, SCUDO_PREFIX(malloc_postinit)> SCUDO_ALLOCATOR;
|
| H A D | wrappers_c.h | 59 extern HIDDEN scudo::Allocator<scudo::Config, malloc_postinit> Allocator;
|
| H A D | wrappers_c_bionic.cpp | 30 static scudo::Allocator<scudo::Config, SCUDO_PREFIX(malloc_postinit)>
|
| H A D | linux.h | 16 namespace scudo {
|
| H A D | trusty.h | 16 namespace scudo {
|
| H A D | release.cpp | 11 namespace scudo { namespace 17 } // namespace scudo
|
| H A D | fuchsia.h | 19 namespace scudo {
|
| H A D | common.cpp | 13 namespace scudo { namespace
|
| H A D | crc32_hw.cpp | 11 namespace scudo { namespace
|
| H A D | timing.cpp | 11 namespace scudo { namespace
|
| H A D | flags.h | 14 namespace scudo {
|
| H A D | rss_limit_checker.cpp | |
| H A D | condition_variable.h | 19 namespace scudo {
|
| H A D | flags_parser.h | 17 namespace scudo { 54 } // namespace scudo
|
| H A D | bytemap.h | 16 namespace scudo {
|
| H A D | report_linux.cpp | 23 namespace scudo { namespace
|
| H A D | checksum.h | 38 namespace scudo {
|
| H A D | wrappers_c_checks.h | 20 namespace scudo {
|
| H A D | rss_limit_checker.h | |
| H A D | string_utils.h | 17 namespace scudo {
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/fuzz/ |
| H A D | get_error_info_fuzzer.cpp | 20 using AllocatorT = scudo::Allocator<scudo::AndroidConfig>; in LLVMFuzzerTestOneInput()
|