reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
434 tag_t ptr_tag = GetTagFromPointer((uptr)p);
projects/compiler-rt/lib/hwasan/hwasan.h52 static inline tag_t GetTagFromPointer(uptr p) { 65 static inline uptr AddTagToPointer(uptr p, tag_t tag) {projects/compiler-rt/lib/hwasan/hwasan_allocator.cpp
32 static const tag_t kFallbackAllocTag = 0xBB; 33 static const tag_t kFallbackFreeTag = 0xBC; 153 tag_t tag = t ? t->GenerateRandomTag() : kFallbackAllocTag; 177 tag_t mem_tag = *reinterpret_cast<tag_t *>(projects/compiler-rt/lib/hwasan/hwasan_checks.h
65 tag_t mem_tag, uptr ptr, uptr sz) { 66 tag_t ptr_tag = GetTagFromPointer(ptr); 85 tag_t mem_tag = *(tag_t *)MemToShadow(ptr_raw); 99 tag_t ptr_tag = GetTagFromPointer(p); 101 tag_t *shadow_first = (tag_t *)MemToShadow(ptr_raw); 102 tag_t *shadow_last = (tag_t *)MemToShadow(ptr_raw + sz); 103 for (tag_t *t = shadow_first; t < shadow_last; ++t)projects/compiler-rt/lib/hwasan/hwasan_poisoning.cpp
22 uptr TagMemoryAligned(uptr p, uptr size, tag_t tag) { 46 uptr TagMemory(uptr p, uptr size, tag_t tag) {projects/compiler-rt/lib/hwasan/hwasan_poisoning.h
19 uptr TagMemory(uptr p, uptr size, tag_t tag); 20 uptr TagMemoryAligned(uptr p, uptr size, tag_t tag);projects/compiler-rt/lib/hwasan/hwasan_report.cpp
143 tag_t addr_tag, uptr untagged_addr) { 151 tag_t base_tag = 161 tag_t obj_tag = base_tag ^ local.tag_offset; 214 static bool TagsEqual(tag_t tag, tag_t *tag_ptr) { 214 static bool TagsEqual(tag_t tag, tag_t *tag_ptr) { 220 tag_t inline_tag = *reinterpret_cast<tag_t *>(mem + kShadowAlignment - 1); 249 tag_t addr_tag = GetTagFromPointer(tagged_addr); 250 tag_t *tag_ptr = reinterpret_cast<tag_t*>(MemToShadow(untagged_addr)); 251 tag_t *candidate = nullptr, *left = tag_ptr, *right = tag_ptr; 363 static void PrintTagInfoAroundAddr(tag_t *tag_ptr, uptr num_rows, 365 tag_t *tag)) { 367 tag_t *center_row_beg = reinterpret_cast<tag_t *>( 369 tag_t *beg_row = center_row_beg - row_len * (num_rows / 2); 370 tag_t *end_row = center_row_beg + row_len * ((num_rows + 1) / 2); 372 for (tag_t *row = beg_row; row < end_row; row += row_len) { 384 static void PrintTagsAroundAddr(tag_t *tag_ptr) { 416 tag_t ptr_tag = GetTagFromPointer(tagged_addr); 417 tag_t *tag_ptr = reinterpret_cast<tag_t*>(MemToShadow(untagged_addr)); 418 tag_t mem_tag = *tag_ptr; 491 tag_t *tag_ptr = reinterpret_cast<tag_t*>(MemToShadow(untagged_addr)); 517 tag_t ptr_tag = GetTagFromPointer(tagged_addr); 518 tag_t *tag_ptr = 520 tag_t mem_tag = *tag_ptr;projects/compiler-rt/lib/hwasan/hwasan_thread.cpp
33 for (tag_t i = 0, e = GenerateRandomTag(); i != e; ++i) 110 tag_t Thread::GenerateRandomTag() { 112 tag_t tag;projects/compiler-rt/lib/hwasan/hwasan_thread.h
53 tag_t GenerateRandomTag();