Home
last modified time | relevance | path

Searched refs:shadow_addr (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/compiler-rt/lib/asan/
Dasan_errors.cpp410 u8 *shadow_addr = (u8 *)MemToShadow(addr); in ErrorGeneric() local
412 if (*shadow_addr == 0 && access_size > SHADOW_GRANULARITY) shadow_addr++; in ErrorGeneric()
414 if (*shadow_addr > 0 && *shadow_addr < 128) shadow_addr++; in ErrorGeneric()
416 shadow_val = *shadow_addr; in ErrorGeneric()
425 far_from_bounds = AdjacentShadowValuesAreFullyPoisoned(shadow_addr); in ErrorGeneric()
435 far_from_bounds = AdjacentShadowValuesAreFullyPoisoned(shadow_addr); in ErrorGeneric()
445 far_from_bounds = AdjacentShadowValuesAreFullyPoisoned(shadow_addr); in ErrorGeneric()
467 far_from_bounds = AdjacentShadowValuesAreFullyPoisoned(shadow_addr); in ErrorGeneric()
477 far_from_bounds = AdjacentShadowValuesAreFullyPoisoned(shadow_addr); in ErrorGeneric()
554 uptr shadow_addr = MemToShadow(addr); in PrintShadowMemoryForAddress() local
[all …]
/external/swiftshader/third_party/subzero/runtime/
Dszrt_asan.c117 char *shadow_addr = MEM2SHADOW(ptr); in __asan_error() local
118 char shadow_val = *shadow_addr; in __asan_error()
120 shadow_val = *(shadow_addr + 1); in __asan_error()
135 char *shadow_addr = (char *)MEM2SHADOW(ptr); in __asan_check() local
136 char shadow_val = *shadow_addr; in __asan_check()
137 DUMP("check %d bytes at %p: %p + %d (%d)\n", size, ptr, shadow_addr, in __asan_check()
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_mapping.h55 inline uptr ShadowToMem(uptr shadow_addr) { in ShadowToMem() argument
56 return (shadow_addr - __hwasan_shadow_memory_dynamic_address) << kShadowScale; in ShadowToMem()
/external/compiler-rt/lib/asan/
Dasan_report.cc208 uptr shadow_addr = MemToShadow(addr); in PrintShadowMemoryForAddress() local
210 uptr aligned_shadow = shadow_addr & ~(n_bytes_per_row - 1); in PrintShadowMemoryForAddress()
216 (u8 *)shadow_addr, n_bytes_per_row); in PrintShadowMemoryForAddress()
1091 u8 *shadow_addr = (u8*)MemToShadow(addr); in ReportGenericError() local
1093 if (*shadow_addr == 0 && access_size > SHADOW_GRANULARITY) in ReportGenericError()
1094 shadow_addr++; in ReportGenericError()
1096 if (*shadow_addr > 0 && *shadow_addr < 128) in ReportGenericError()
1097 shadow_addr++; in ReportGenericError()
1099 shadow_val = *shadow_addr; in ReportGenericError()
1109 far_from_bounds = AdjacentShadowValuesAreFullyPoisoned(shadow_addr); in ReportGenericError()
[all …]
/external/llvm-project/compiler-rt/lib/dfsan/
Ddfsan.cpp284 static void WriteShadowIfDifferent(dfsan_label label, uptr shadow_addr, in WriteShadowIfDifferent() argument
286 dfsan_label *labelp = (dfsan_label *)shadow_addr; in WriteShadowIfDifferent()