Searched refs:untagPointer (Results 1 – 7 of 7) sorted by relevance
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
H A D | memtag.h | 37 inline uptr untagPointer(uptr Ptr) { return Ptr & ((1ULL << 56) - 1); } in untagPointer() function 49 inline NORETURN uptr untagPointer(uptr Ptr) { 163 DCHECK_EQ(untagPointer(Ptr), Ptr); in addFixedTag() 314 inline void *untagPointer(void *Ptr) { in untagPointer() function 315 return reinterpret_cast<void *>(untagPointer(reinterpret_cast<uptr>(Ptr))); in untagPointer()
|
H A D | combined.h | 75 Ptr = untagPointer(Ptr); in recycle() 260 auto UntaggedPtr = untagPointer(Ptr); in getHeaderTaggedPointer() 673 NewSize, untagPointer(BlockEnd)); 762 Base = untagPointer(Base); in iterateOverChunks() 788 TaggedChunk = untagPointer(TaggedChunk); in iterateOverChunks() 1123 Ptr = untagPointer(const_cast<void *>(Ptr)); in getSize() 1165 Ptr = untagPointer(Ptr); in quarantineOrDeallocateChunk() 1217 DCHECK_EQ(BlockEnd, untagPointer(BlockEnd)); in storeEndMarker() 1218 uptr UntaggedEnd = untagPointer(End); in storeEndMarker() 1334 uptr UntaggedFaultAddr = untagPointer(FaultAddr); in getInlineErrorInfo() [all …]
|
H A D | secondary.h | 274 storeTags(untagPointer(NewBlockBegin), in retrieve() 275 untagPointer(Entry.BlockBegin)); in retrieve() 457 Ptr = untagPointer(Ptr); in iterateOverBlocks() 520 HInt = untagPointer(HInt); in allocate()
|
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
H A D | memtag_test.cpp | 22 EXPECT_DEATH(untagPointer((uptr)0), "not supported"); in TEST() 36 EXPECT_DEATH(untagPointer(nullptr), "not supported"); in TEST() 52 EXPECT_EQ(Addr, untagPointer(Addr)); in SetUp() 92 uptr UnTagMask = untagPointer(~uptr(0)); in TEST_F() 95 EXPECT_EQ(addFixedTag(Ptr, 0), untagPointer(Ptr)); in TEST_F()
|
H A D | wrappers_c_test.cpp | 306 Base = scudo::untagPointer(Base); in callback() 307 BoundaryP = scudo::untagPointer(BoundaryP); in callback()
|
H A D | combined_test.cpp | 411 EXPECT_EQ(scudo::untagPointer(P), P); in SCUDO_TYPED_TEST() 627 scudo::uptr P = scudo::untagPointer(reinterpret_cast<scudo::uptr>( in SCUDO_TYPED_TEST()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
H A D | HWAddressSanitizer.cpp | 315 Value *untagPointer(IRBuilder<> &IRB, Value *PtrLong); 804 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand() 852 Value *AddrLong = untagPointer(IRB, PtrLong); in instrumentMemAccessInline() 1113 Value *HWAddressSanitizer::untagPointer(IRBuilder<> &IRB, Value *PtrLong) { in untagPointer() function in HWAddressSanitizer 1208 : untagPointer(IRB, ThreadLong); in emitPrologue()
|