HomeSort by: relevance | last modified time | path
    Searched refs:Vptr (Results 1 - 19 of 19) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_type_hash_itanium.cc 79 // (vptr,type) pair, a hash is computed. This hash is assumed to be globally
84 // * the vptr, and thus the hash, can be affected by ASLR, so multiple runs
191 /// The offset from the vptr to the start of the most-derived object.
199 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable);
200 VtablePrefix *Prefix = Vptr - 1;
212 // A crash anywhere within this function probably means the vptr is corrupted.
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_type_hash_itanium.cpp 91 // (vptr,type) pair, a hash is computed. This hash is assumed to be globally
96 // * the vptr, and thus the hash, can be affected by ASLR, so multiple runs
202 /// The offset from the vptr to the start of the most-derived object.
211 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable);
212 VtablePrefix *Prefix = Vptr - 1;
224 // A crash anywhere within this function probably means the vptr is corrupted.
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_type_hash_itanium.cpp 79 // (vptr,type) pair, a hash is computed. This hash is assumed to be globally
84 // * the vptr, and thus the hash, can be affected by ASLR, so multiple runs
190 /// The offset from the vptr to the start of the most-derived object.
199 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable);
200 VtablePrefix *Prefix = Vptr - 1;
212 // A crash anywhere within this function probably means the vptr is corrupted.
  /src/external/apache2/llvm/dist/clang/lib/Driver/
SanitizerArgs.cpp 33 SanitizerKind::Vptr | SanitizerKind::CFI;
34 static const SanitizerMask NotAllowedWithTrap = SanitizerKind::Vptr;
36 SanitizerKind::Function | SanitizerKind::Vptr;
63 (SanitizerKind::Undefined & ~SanitizerKind::Vptr) | SanitizerKind::Integer |
106 /// "-fsanitize=thread,vptr -fsanitize=address" with mask \c NeedsUbsanRt
107 /// would produce "-fsanitize=vptr".
382 // Test for -fno-rtti + explicit -fsanitizer=vptr before expanding groups
385 if ((Add & SanitizerKind::Vptr) && (RTTIMode == ToolChain::RM_Disabled)) {
389 // The user explicitly passed -fno-rtti with -fsanitize=vptr, but
390 // the vptr sanitizer requires RTTI, so this is a user error
    [all...]
ToolChain.cpp 998 (SanitizerKind::Undefined & ~SanitizerKind::Vptr &
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGClass.cpp 2297 void CodeGenFunction::EmitVTableAssumptionLoad(const VPtr &Vptr, Address This) {
2299 CGM.getCXXABI().getVTableAddressPoint(Vptr.Base, Vptr.VTableClass);
2304 CharUnits NonVirtualOffset = Vptr.Base.getBaseOffset();
2309 Vptr.VTableClass, Vptr.NearestVBase);
2312 GetVTablePtr(This, VTableGlobal->getType(), Vptr.VTableClass);
2321 for (const VPtr &Vptr : getVTablePointers(ClassDecl)
    [all...]
CGCXXABI.h 426 CodeGenFunction::VPtr Vptr) = 0;
450 /// used for the vptr at the given offset in RD.
CGExpr.cpp 673 SanOpts.has(SanitizerKind::Vptr);
686 // communicate the addresses to the runtime handler for the vptr check.
797 // If possible, check that the vptr indicates that there is a subobject of
805 if (SanOpts.has(SanitizerKind::Vptr) &&
806 !SkippedChecks.has(SanitizerKind::Vptr) && isVptrCheckRequired(TCK, Ty)) {
813 Done = createBasicBlock("vptr.null");
814 llvm::BasicBlock *VptrNotNull = createBasicBlock("vptr.not.null");
830 if (!CGM.getContext().getNoSanitizeList().containsType(SanitizerKind::Vptr,
834 // Load the vptr, and compute hash_16_bytes(TypeHash, vptr)
    [all...]
ItaniumCXXABI.cpp 246 CodeGenFunction::VPtr Vptr) override;
1798 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) {
1799 if (Vptr.NearestVBase == nullptr)
1888 assert(VPtrOffset.isZero() && "Itanium ABI only supports zero vptr offsets");
MicrosoftCXXABI.cpp 285 CodeGenFunction::VPtr Vptr) override;
1740 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) {
1741 return Vptr.NearestVBase != nullptr;
1922 Address VPtr =
1926 llvm::Value *VTable = CGF.GetVTablePtr(VPtr, Ty->getPointerTo(),
  /src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
OpenBSD.cpp 238 Res |= SanitizerKind::Vptr;
PS4CPU.cpp 237 Res |= SanitizerKind::Vptr;
Solaris.cpp 213 Res |= SanitizerKind::Vptr;
WebAssembly.cpp 413 Res |= SanitizerKind::Vptr | SanitizerKind::Leak | SanitizerKind::Address;
FreeBSD.cpp 478 Res |= SanitizerKind::Vptr;
MinGW.cpp 494 Res |= SanitizerKind::Vptr;
NetBSD.cpp 480 Res |= SanitizerKind::Vptr;
Linux.cpp 708 Res |= SanitizerKind::Vptr;
Darwin.cpp 2810 // incompatible with -fsanitize=vptr.
2813 Res |= SanitizerKind::Vptr;

Completed in 93 milliseconds