Searched refs:Vtable (Results 1 - 6 of 6) sorted by relevance
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_type_hash_itanium.cpp | 196 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 D | ubsan_type_hash.h | 46 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 D | ubsan_handlers_cxx.cpp | 98 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 D | ubsan_handlers.h | 223 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
|
H A D | ubsan_handlers.cpp | 800 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 D | CGObjCGNU.cpp | 2428 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