| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/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() 199 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); 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() 238 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset)) in checkDynamicType() 249 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in getDynamicTypeInfoFromVtable() local 250 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 | 239 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,
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/ |
| H A D | ubsan_type_hash_itanium.cc | 197 VtablePrefix *getVtablePrefix(void *Vtable) { in getVtablePrefix() argument 198 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); in getVtablePrefix() 222 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in checkDynamicType() local 223 if (!Vtable) in checkDynamicType() 225 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) { in checkDynamicType() 232 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType() 237 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset)) in checkDynamicType() 248 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in getDynamicTypeInfoFromVtable() local 249 if (!Vtable) in getDynamicTypeInfoFromVtable() 251 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) in getDynamicTypeInfoFromVtable() [all …]
|
| H A D | ubsan_handlers_cxx.cc | 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 | 45 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
|
| H A D | ubsan_handlers.cc | 752 ValueHandle Vtable, in __ubsan_handle_cfi_bad_type_default() argument 762 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, 766 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
|
| H A D | ubsan_handlers.h | 226 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
| H A D | ubsan_type_hash_itanium.cc | 198 VtablePrefix *getVtablePrefix(void *Vtable) { in getVtablePrefix() argument 199 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); 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() 238 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset)) 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() [all …]
|
| H A D | ubsan_handlers_cxx.cc | 99 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, in __ubsan_handle_cfi_bad_type() argument 109 ? getDynamicTypeInfoFromVtable((void *)Vtable) in __ubsan_handle_cfi_bad_type() 137 << Data->Type << CheckKindStr << (void *)Vtable; in __ubsan_handle_cfi_bad_type() 141 Diag(Vtable, DL_Note, ET, "invalid vtable"); in __ubsan_handle_cfi_bad_type() 143 Diag(Vtable, DL_Note, ET, "vtable is of type %0") in __ubsan_handle_cfi_bad_type() 148 const char *DstModule = Symbolizer::GetOrInit()->GetModuleNameForPc(Vtable); in __ubsan_handle_cfi_bad_type()
|
| H A D | ubsan_type_hash.h | 47 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
|
| H A D | ubsan_handlers.h | 222 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
|
| H A D | ubsan_handlers.cc | 762 ValueHandle Vtable, in __ubsan_handle_cfi_bad_type_default() argument 772 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, 776 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 2441 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() local 2442 if (!Vtable) { in GetEHType() 2443 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, in GetEHType() 2449 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()
|
| /netbsd-src/external/gpl3/binutils/dist/gas/ |
| H A D | ChangeLog-9899 | 2435 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs. 2436 (md_apply_fix3): Handle Vtable relocs.
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/ |
| H A D | ChangeLog-9899 | 2435 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs. 2436 (md_apply_fix3): Handle Vtable relocs.
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | ChangeLog-2002 | 2980 (build_base_path): Vtable contents are constant.
|