Searched refs:sanitizer_zone (Results 1 – 3 of 3) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_malloc_mac.inc | 32 static malloc_zone_t sanitizer_zone; 38 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size); 41 internal_memcpy(new_zone, &sanitizer_zone, sizeof(sanitizer_zone)); 54 return &sanitizer_zone; 61 return &sanitizer_zone; 86 if (name && zone->introspect == sanitizer_zone.introspect) { 128 return sanitizer_zone.introspect->good_size(&sanitizer_zone, size); 307 internal_memset(&sanitizer_zone, 0, sizeof(malloc_zone_t)); 310 sanitizer_zone.version = 6; 311 sanitizer_zone.zone_name = COMMON_MALLOC_ZONE_NAME; [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_malloc_mac.inc | 33 extern malloc_zone_t sanitizer_zone; 59 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size); 62 internal_memcpy(new_zone, &sanitizer_zone, sizeof(sanitizer_zone)); 77 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size); 87 return &sanitizer_zone; 92 size_t size = sanitizer_zone.size(&sanitizer_zone, ptr); 94 return &sanitizer_zone; 103 return &sanitizer_zone; 128 if (name && zone->introspect == sanitizer_zone.introspect) { 170 return sanitizer_zone.introspect->good_size(&sanitizer_zone, size); [all …]
|
D | sanitizer_mac.cpp | 478 malloc_zone_t sanitizer_zone; variable 486 if (malloc_num_zones > 1 && malloc_zones[0] != &sanitizer_zone) { in MprotectMallocZones() 488 if (malloc_zones[i] == &sanitizer_zone) { in MprotectMallocZones() 491 malloc_zones[0] = &sanitizer_zone; in MprotectMallocZones()
|