Searched refs:Vtable (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_type_hash_itanium.cpp | 197 VtablePrefix *getVtablePrefix(void *Vtable) { in getVtablePrefix() argument 198 Vtable = ptrauth_auth_data(Vtable, ptrauth_key_cxx_vtable_pointer, 0); in getVtablePrefix() 223 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in checkDynamicType() local 224 if (!Vtable) in checkDynamicType() 226 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) { in checkDynamicType() 233 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType() 249 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in getDynamicTypeInfoFromVtable() local 250 if (!Vtable) in getDynamicTypeInfoFromVtable() 252 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) in getDynamicTypeInfoFromVtable() 256 -Vtable->Offset); 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 | 231 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
|
| H A D | ubsan_handlers.cpp | 875 ValueHandle Vtable, in __ubsan_handle_cfi_bad_type_default() argument 885 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, 889 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 2453 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() local 2454 if (!Vtable) { in GetEHType() 2455 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, in GetEHType() 2461 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()
|