Searched refs:shadow_addr (Results 1 – 5 of 5) sorted by relevance
410 u8 *shadow_addr = (u8 *)MemToShadow(addr); in ErrorGeneric() local412 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 …]
117 char *shadow_addr = MEM2SHADOW(ptr); in __asan_error() local118 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() local136 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()
55 inline uptr ShadowToMem(uptr shadow_addr) { in ShadowToMem() argument56 return (shadow_addr - __hwasan_shadow_memory_dynamic_address) << kShadowScale; in ShadowToMem()
208 uptr shadow_addr = MemToShadow(addr); in PrintShadowMemoryForAddress() local210 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() local1093 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 …]
284 static void WriteShadowIfDifferent(dfsan_label label, uptr shadow_addr, in WriteShadowIfDifferent() argument286 dfsan_label *labelp = (dfsan_label *)shadow_addr; in WriteShadowIfDifferent()