Home
last modified time | relevance | path

Searched refs:scudo (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp17 #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 Dwrappers_c.inc52 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 Dmem_map.cpp13 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 Dinternal_defs.h79 namespace scudo {
111 scudo::reportCheckFailed(__FILE__, __LINE__, #C1 " " #Op " " #C2, \
112 (scudo::u64)C1, (scudo::u64)C2); \
113 scudo::die(); \
H A Dwrappers_c.cpp17 #include "scudo/interface.h"
31 scudo::Allocator<scudo::Config, SCUDO_PREFIX(malloc_postinit)> SCUDO_ALLOCATOR;
H A Dwrappers_c.h59 extern HIDDEN scudo::Allocator<scudo::Config, malloc_postinit> Allocator;
H A Dwrappers_c_bionic.cpp30 static scudo::Allocator<scudo::Config, SCUDO_PREFIX(malloc_postinit)>
H A Dlinux.h16 namespace scudo {
H A Dtrusty.h16 namespace scudo {
H A Drelease.cpp11 namespace scudo { namespace
17 } // namespace scudo
H A Dfuchsia.h19 namespace scudo {
H A Dcommon.cpp13 namespace scudo { namespace
H A Dcrc32_hw.cpp11 namespace scudo { namespace
H A Dtiming.cpp11 namespace scudo { namespace
H A Dflags.h14 namespace scudo {
H A Drss_limit_checker.cpp
H A Dcondition_variable.h19 namespace scudo {
H A Dflags_parser.h17 namespace scudo {
54 } // namespace scudo
H A Dbytemap.h16 namespace scudo {
H A Dreport_linux.cpp23 namespace scudo { namespace
H A Dchecksum.h38 namespace scudo {
H A Dwrappers_c_checks.h20 namespace scudo {
H A Drss_limit_checker.h
H A Dstring_utils.h17 namespace scudo {
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/fuzz/
H A Dget_error_info_fuzzer.cpp20 using AllocatorT = scudo::Allocator<scudo::AndroidConfig>; in LLVMFuzzerTestOneInput()

123