| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_posix.cpp | 46 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument 49 MAP_PRIVATE | MAP_ANON, mem_type); in MmapOrDie() 68 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument 71 MAP_PRIVATE | MAP_ANON, mem_type); in MmapOrDieOnFatalError() 76 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno); in MmapOrDieOnFatalError() 86 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument 90 uptr map_res = (uptr)MmapOrDieOnFatalError(map_size, mem_type); in MmapAlignedOrDieOnFatalError() 106 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument 127 char mem_type[40]; in MmapFixedImpl() local 128 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedImpl() [all …]
|
| H A D | sanitizer_fuchsia.cpp | 132 static void *DoAnonymousMmapOrDie(uptr size, const char *mem_type, in DoAnonymousMmapOrDie() argument 144 _zx_object_set_property(vmo, ZX_PROP_NAME, mem_type, in DoAnonymousMmapOrDie() 145 internal_strlen(mem_type)); in DoAnonymousMmapOrDie() 167 return DoAnonymousMmapOrDie(size, mem_type, raw_report, true); in MmapOrDie() 170 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument 171 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie() 174 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument 175 return DoAnonymousMmapOrDie(size, mem_type, false, false); in MmapOrDieOnFatalError() 289 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument 301 _zx_object_set_property(vmo, ZX_PROP_NAME, mem_type, in MmapAlignedOrDieOnFatalError() [all …]
|
| H A D | sanitizer_win.cpp | 142 ReportMmapFailureAndDie(size, mem_type, "allocate", in MmapOrDie() 175 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument 178 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate"); in MmapOrDieOnFatalError() 184 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument 281 char mem_type[30]; in MmapFixedOrDie() local 282 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie() 313 char mem_type[30]; in MmapFixedOrDieOnFatalError() local 314 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDieOnFatalError() 316 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate"); in MmapFixedOrDieOnFatalError() 321 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument [all …]
|
| H A D | sanitizer_common.cpp | 38 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type, in ReportMmapFailureAndDie() argument 51 mmap_type, size, size, mem_type, err); in ReportMmapFailureAndDie() 56 SanitizerToolName, mmap_type, size, size, mem_type, err); in ReportMmapFailureAndDie()
|
| H A D | sanitizer_common.h | 92 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false); 93 inline void *MmapOrDieQuietly(uptr size, const char *mem_type) { in MmapOrDieQuietly() argument 94 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly() 99 void *MmapOrDieOnFatalError(uptr size, const char *mem_type); 104 void *MmapNoReserveOrDie(uptr size, const char *mem_type); 115 const char *mem_type); 315 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type,
|
| H A D | sanitizer_stack_store.h | 78 void *Map(uptr size, const char *mem_type);
|
| H A D | sanitizer_stack_store.cpp | 95 void *StackStore::Map(uptr size, const char *mem_type) { in Map() argument 97 return MmapNoReserveOrDie(size, mem_type); in Map()
|