Home
last modified time | relevance | path

Searched refs:untagPointer (Results 1 – 7 of 7) sorted by relevance

/external/scudo/standalone/
Dmemtag.h37 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()
Dcombined.h75 Ptr = untagPointer(Ptr); in recycle()
268 auto UntaggedPtr = untagPointer(Ptr); in getHeaderTaggedPointer()
682 NewSize, untagPointer(BlockEnd));
771 Base = untagPointer(Base); in iterateOverChunks()
797 TaggedChunk = untagPointer(TaggedChunk); in iterateOverChunks()
1132 Ptr = untagPointer(const_cast<void *>(Ptr)); in getSize()
1175 Ptr = untagPointer(Ptr); in quarantineOrDeallocateChunk()
1227 DCHECK_EQ(BlockEnd, untagPointer(BlockEnd)); in storeEndMarker()
1228 uptr UntaggedEnd = untagPointer(End); in storeEndMarker()
1313 storeRingBufferEntry(untagPointer(Ptr), Trace, Tid, Size, 0, 0); in storeSecondaryAllocationStackMaybe()
[all …]
Dsecondary.h277 storeTags(untagPointer(NewBlockBegin), in retrieve()
278 untagPointer(Entry.BlockBegin)); in retrieve()
456 Ptr = untagPointer(Ptr); in iterateOverBlocks()
519 HInt = untagPointer(HInt); in allocate()
/external/scudo/standalone/tests/
Dmemtag_test.cpp23 EXPECT_DEATH(untagPointer((uptr)0), "not supported"); in TEST()
37 EXPECT_DEATH(untagPointer(nullptr), "not supported"); in TEST()
55 EXPECT_EQ(Addr, untagPointer(Addr)); in SetUp()
97 uptr UnTagMask = untagPointer(~uptr(0)); in TEST_F()
100 EXPECT_EQ(addFixedTag(Ptr, 0), untagPointer(Ptr)); in TEST_F()
Dwrappers_c_test.cpp306 Base = scudo::untagPointer(Base); in callback()
307 BoundaryP = scudo::untagPointer(BoundaryP); in callback()
Dcombined_test.cpp414 EXPECT_EQ(scudo::untagPointer(P), P); in SCUDO_TYPED_TEST()
653 scudo::uptr P = scudo::untagPointer(reinterpret_cast<scudo::uptr>( in SCUDO_TYPED_TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp222 Value *untagPointer(IRBuilder<> &IRB, Value *PtrLong);
587 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand()
628 Value *AddrLong = untagPointer(IRB, PtrLong); in instrumentMemAccessInline()
886 Value *HWAddressSanitizer::untagPointer(IRBuilder<> &IRB, Value *PtrLong) { in untagPointer() function in HWAddressSanitizer
937 TargetTriple.isAArch64() ? ThreadLong : untagPointer(IRB, ThreadLong); in emitPrologue()