Searched refs:tag_t (Results 1 – 15 of 15) sorted by relevance
/openbsd/gnu/llvm/compiler-rt/lib/hwasan/ |
H A D | hwasan_report.cpp | 198 tag_t base_tag = in PrintStackAllocations() 261 static bool TagsEqual(tag_t tag, tag_t *tag_ptr) { in TagsEqual() 267 tag_t inline_tag = *reinterpret_cast<tag_t *>(mem + kShadowAlignment - 1); in TagsEqual() 309 tag_t *left, tag_t *right) { in ShowHeapOrGlobalCandidate() 436 tag_t *tag_ptr = reinterpret_cast<tag_t*>(MemToShadow(untagged_addr)); in PrintAddressDescription() 523 tag_t *center_row_beg = reinterpret_cast<tag_t *>( in PrintTagInfoAroundAddr() 579 tag_t *tag_ptr = nullptr; in ReportInvalidFree() 580 tag_t mem_tag = 0; in ReportInvalidFree() 683 tag_t *tag_ptr = reinterpret_cast<tag_t*>(MemToShadow(untagged_addr)); in ReportTailOverwritten() 711 tag_t *tag_ptr = in ReportTagMismatch() [all …]
|
H A D | hwasan_checks.h | 83 tag_t mem_tag, uptr ptr, uptr sz) { in PossiblyShortTagMatches() 84 tag_t ptr_tag = GetTagFromPointer(ptr); in PossiblyShortTagMatches() 105 tag_t mem_tag = *(tag_t *)MemToShadow(ptr_raw); in CheckAddress() 119 tag_t ptr_tag = GetTagFromPointer(p); in CheckAddressSized() 121 tag_t *shadow_first = (tag_t *)MemToShadow(ptr_raw); in CheckAddressSized() 122 tag_t *shadow_last = (tag_t *)MemToShadow(ptr_raw + sz); in CheckAddressSized() 123 for (tag_t *t = shadow_first; t < shadow_last; ++t) in CheckAddressSized()
|
H A D | hwasan_poisoning.h | 19 uptr TagMemory(uptr p, uptr size, tag_t tag); 20 uptr TagMemoryAligned(uptr p, uptr size, tag_t tag);
|
H A D | hwasan_allocator.cpp | 33 static constexpr tag_t kFallbackAllocTag = 0xBB & kTagMask; 34 static constexpr tag_t kFallbackFreeTag = 0xBC; 218 tag_t tag = t ? t->GenerateRandomTag() : kFallbackAllocTag; in HwasanAllocate() 251 tag_t mem_tag = *reinterpret_cast<tag_t *>( in PointerAndMemoryTagsMatch() 280 tag_t pointer_tag = GetTagFromPointer(reinterpret_cast<uptr>(tagged_ptr)); in HwasanDeallocate() 299 tag_t short_granule_memtag = *(reinterpret_cast<tag_t *>( in HwasanDeallocate() 321 tag_t tag; in HwasanDeallocate()
|
H A D | hwasan.h | 37 typedef u8 tag_t; typedef 81 static inline tag_t GetTagFromPointer(uptr p) { in GetTagFromPointer() 94 static inline uptr AddTagToPointer(uptr p, tag_t tag) { in AddTagToPointer()
|
H A D | hwasan_thread.cpp | 35 for (tag_t i = 0, e = GenerateRandomTag(); i != e; ++i) in InitRandomState() 128 tag_t Thread::GenerateRandomTag(uptr num_bits) { in GenerateRandomTag() 132 tag_t tag; in GenerateRandomTag()
|
H A D | hwasan.cpp | 433 tag_t mem_tag = *reinterpret_cast<tag_t *>(s); in __hwasan_print_shadow() 437 *reinterpret_cast<tag_t *>(granule_addr + kShadowAlignment - 1)); in __hwasan_print_shadow() 446 tag_t ptr_tag = GetTagFromPointer((uptr)p); in __hwasan_test_shadow() 451 if (*(tag_t *)s != ptr_tag) { in __hwasan_test_shadow()
|
H A D | hwasan_poisoning.cpp | 22 uptr TagMemory(uptr p, uptr size, tag_t tag) { in TagMemory()
|
H A D | hwasan_thread.h | 60 tag_t GenerateRandomTag(uptr num_bits = kTagBits);
|
H A D | hwasan_fuchsia.cpp | 158 uptr TagMemoryAligned(uptr p, uptr size, tag_t tag) { in TagMemoryAligned()
|
H A D | hwasan_linux.cpp | 508 uptr TagMemoryAligned(uptr p, uptr size, tag_t tag) { in TagMemoryAligned()
|
/openbsd/gnu/usr.bin/binutils/gas/ |
H A D | ecoff.c | 887 } tag_t; typedef 1040 tag_t tag [ PAGE_SIZE / sizeof (tag_t) ]; 1601 register tag_t *ptag; in add_ecoff_symbol() 1998 static tag_t * 2005 tag_t *tag_ptr; in get_tag() 4622 tag_t *ptag; in ecoff_build_debug() 4623 tag_t *ptag_next; in ecoff_build_debug() 4988 static tag_t * 4991 register tag_t *ptr; in allocate_tag() 5017 ptr = (tag_t *) xmalloc (sizeof (tag_t)); in allocate_tag() [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/gas/ |
H A D | ecoff.c | 888 } tag_t; typedef 1041 tag_t tag [ PAGE_SIZE / sizeof (tag_t) ]; 1602 register tag_t *ptag; in add_ecoff_symbol() 1999 static tag_t * 2006 tag_t *tag_ptr; in get_tag() 4621 tag_t *ptag; in ecoff_build_debug() 4622 tag_t *ptag_next; in ecoff_build_debug() 4987 static tag_t * 4990 register tag_t *ptr; in allocate_tag() 5016 ptr = (tag_t *) xmalloc (sizeof (tag_t)); in allocate_tag() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | mips-tfile.c | 986 } tag_t; typedef 1171 tag_t tag [ PAGE_SIZE / sizeof (tag_t) ]; 1876 tag_t *ptag; 1877 tag_t *ptag_next; 2300 STATIC tag_t * 2308 tag_t *tag_ptr; 3840 tag_t *ptag; in parse_input() 5384 STATIC tag_t * 5387 tag_t *ptr; in allocate_tag() 5412 ptr = (tag_t *) xmalloc (sizeof (tag_t)); in allocate_tag() [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | mips-tfile.c | 993 } tag_t; typedef 1096 tag_t tag [ PAGE_SIZE / sizeof (tag_t) ]; 1761 tag_t *ptag; in add_local_symbol() 1762 tag_t *ptag_next; in add_local_symbol() 2178 STATIC tag_t * 2186 tag_t *tag_ptr; in get_tag() 3728 tag_t *ptag; in parse_input() 3729 tag_t *ptag_next; in parse_input() 5249 STATIC tag_t * 5252 tag_t *ptr; in allocate_tag() [all …]
|