Searched refs:Vtable (Results 1 - 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_type_hash_itanium.cpp196 VtablePrefix *getVtablePrefix(void *Vtable) { argument
197 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable);
221 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); local
222 if (!Vtable)
224 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) {
225 // Too large or too small offset are signs of Vtable corruption.
231 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo);
236 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset))
247 VtablePrefix *Vtable local
[all...]
H A Dubsan_type_hash.h46 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
55 /// A sanity check for Vtable. Offsets to top must be reasonably small
56 /// numbers (by absolute value). It's a weak check for Vtable corruption.
H A Dubsan_handlers_cxx.cpp98 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, argument
108 ? getDynamicTypeInfoFromVtable((void *)Vtable)
136 << Data->Type << CheckKindStr << (void *)Vtable;
140 Diag(Vtable, DL_Note, ET, "invalid vtable");
142 Diag(Vtable, DL_Note, ET, "vtable is of type %0")
147 const char *DstModule = Symbolizer::GetOrInit()->GetModuleNameForPc(Vtable);
H A Dubsan_handlers.h223 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
H A Dubsan_handlers.cpp800 ValueHandle Vtable,
810 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
814 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
799 __ubsan_handle_cfi_bad_type_default(CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable, ReportOptions Opts) argument
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp2428 auto *Vtable = TheModule.getGlobalVariable(vtableName); local
2429 if (!Vtable) {
2430 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true,
2436 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two),

Completed in 139 milliseconds