Searched refs:Vtable (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_type_hash_itanium.cpp | 209 VtablePrefix *getVtablePrefix(void *Vtable) { in getVtablePrefix() argument 210 Vtable = ptrauth_strip(Vtable, ptrauth_key_cxx_vtable_pointer); in getVtablePrefix() 211 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); in getVtablePrefix() 235 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in checkDynamicType() local 236 if (!Vtable) in checkDynamicType() 238 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) { in checkDynamicType() 245 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType() 250 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset)) in checkDynamicType() 261 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in getDynamicTypeInfoFromVtable() local 262 if (!Vtable) in getDynamicTypeInfoFromVtable() [all …]
|
H A D | ubsan_handlers_cxx.cpp | 98 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, in __ubsan_handle_cfi_bad_type() argument 108 ? getDynamicTypeInfoFromVtable((void *)Vtable) in __ubsan_handle_cfi_bad_type() 136 << Data->Type << CheckKindStr << (void *)Vtable; in __ubsan_handle_cfi_bad_type() 140 Diag(Vtable, DL_Note, ET, "invalid vtable"); in __ubsan_handle_cfi_bad_type() 142 Diag(Vtable, DL_Note, ET, "vtable is of type %0") in __ubsan_handle_cfi_bad_type() 147 const char *DstModule = Symbolizer::GetOrInit()->GetModuleNameForPc(Vtable); in __ubsan_handle_cfi_bad_type()
|
H A D | ubsan_type_hash.h | 46 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
|
H A D | ubsan_handlers.h | 232 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
|
H A D | ubsan_handlers.cpp | 882 ValueHandle Vtable, in __ubsan_handle_cfi_bad_type_default() argument 892 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, 896 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjCGNU.cpp | 2565 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() local 2566 if (!Vtable) { in GetEHType() 2567 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, in GetEHType() 2573 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two); in GetEHType()
|
H A D | ItaniumCXXABI.cpp | 1644 llvm::Value *Vtable = in emitDynamicCastCall() local 1647 assert(Vtable); in emitDynamicCastCall() 1648 (void)Vtable; in emitDynamicCastCall()
|