Searched refs:Vtable (Results 1 - 6 of 6) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_type_hash_itanium.cpp | 197 VtablePrefix *getVtablePrefix(void *Vtable) { argument 198 Vtable = ptrauth_auth_data(Vtable, ptrauth_key_cxx_vtable_pointer, 0); 199 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); 223 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); local 224 if (!Vtable) 226 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) { 227 // Too large or too small offset are signs of Vtable corruption. 233 dynamic_cast<abi::__class_type_info*>(Vtable 249 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); 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 | 231 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
|
H A D | ubsan_handlers.cpp | 875 ValueHandle Vtable, 885 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, 889 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, 874 __ubsan_handle_cfi_bad_type_default(CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable, ReportOptions Opts) argument
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjCGNU.cpp | 2440 auto *Vtable = TheModule.getGlobalVariable(vtableName); local 2441 if (!Vtable) { 2442 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, 2448 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two),
|
Completed in 142 milliseconds