Home
last modified time | relevance | path

Searched refs:shadow_val (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/subzero/runtime/
Dszrt_asan.c118 char shadow_val = *shadow_addr; in __asan_error() local
119 if (shadow_val > 0) in __asan_error()
120 shadow_val = *(shadow_addr + 1); in __asan_error()
123 assert(shadow_val == STACK_POISON_VAL || shadow_val == HEAP_POISON_VAL || in __asan_error()
124 shadow_val == GLOBAL_POISON_VAL || shadow_val == FREED_POISON_VAL); in __asan_error()
125 const char *memtype = memtype_names[MEMTYPE_INDEX(shadow_val)]; in __asan_error()
136 char shadow_val = *shadow_addr; in __asan_check() local
138 (uintptr_t)ptr % SHADOW_SCALE, shadow_val); in __asan_check()
140 return shadow_val == 0; in __asan_check()
142 return shadow_val == 0 || (char)SHADOW_OFFSET(ptr) + size <= shadow_val; in __asan_check()
/external/compiler-rt/lib/asan/
Dasan_report.cc1089 u8 shadow_val = 0; in ReportGenericError() local
1099 shadow_val = *shadow_addr; in ReportGenericError()
1103 switch (shadow_val) { in ReportGenericError()
1195 if (shadow_val == kAsanContiguousContainerOOBMagic) in ReportGenericError()