/external/compiler-rt/lib/ubsan/ |
D | ubsan_type_hash_itanium.cc | 196 VtablePrefix *getVtablePrefix(void *Vtable) { in getVtablePrefix() argument 197 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); in getVtablePrefix() 221 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in checkDynamicType() local 222 if (!Vtable) in checkDynamicType() 224 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) { in checkDynamicType() 231 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType() 236 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset)) in checkDynamicType() 247 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in getDynamicTypeInfoFromVtable() local 248 if (!Vtable) in getDynamicTypeInfoFromVtable() 250 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) in getDynamicTypeInfoFromVtable() [all …]
|
D | ubsan_handlers_cxx.cc | 98 void HandleCFIBadType(CFICheckFailData *Data, ValueHandle Vtable, in HandleCFIBadType() argument 108 ? getDynamicTypeInfoFromVtable((void *)Vtable) in HandleCFIBadType() 131 << Data->Type << CheckKindStr << (void *)Vtable; in HandleCFIBadType() 135 const char *module = Symbolizer::GetOrInit()->GetModuleNameForPc(Vtable); in HandleCFIBadType() 137 Diag(Vtable, DL_Note, "invalid vtable in module %0") << module; in HandleCFIBadType() 139 Diag(Vtable, DL_Note, "invalid vtable"); in HandleCFIBadType() 141 Diag(Vtable, DL_Note, "vtable is of type %0") in HandleCFIBadType()
|
D | ubsan_type_hash.h | 47 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
|
D | ubsan_handlers.cc | 553 void HandleCFIBadType(CFICheckFailData *Data, ValueHandle Vtable, 556 static void HandleCFIBadType(CFICheckFailData *Data, ValueHandle Vtable,
|
/external/llvm-project/compiler-rt/lib/ubsan/ |
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 …]
|
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()
|
D | ubsan_type_hash.h | 46 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
|
D | ubsan_handlers.h | 231 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
|
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,
|
/external/rust/crates/bytes/src/ |
D | bytes.rs | 99 vtable: &'static Vtable, 102 pub(crate) struct Vtable { struct 451 if self.vtable as *const Vtable == &PROMOTABLE_EVEN_VTABLE in truncate() constant 452 || self.vtable as *const Vtable == &PROMOTABLE_ODD_VTABLE in truncate() constant 482 vtable: &'static Vtable, in with_vtable() argument 838 impl fmt::Debug for Vtable { implementation 849 const STATIC_VTABLE: Vtable = Vtable { 865 static PROMOTABLE_EVEN_VTABLE: Vtable = Vtable { 870 static PROMOTABLE_ODD_VTABLE: Vtable = Vtable { 949 static SHARED_VTABLE: Vtable = Vtable {
|
D | bytes_mut.rs | 15 use crate::bytes::Vtable; 1497 static SHARED_VTABLE: Vtable = Vtable {
|
/external/rust/crates/tokio/src/runtime/task/ |
D | raw.rs | 12 pub(super) struct Vtable { struct 30 pub(super) fn vtable<T: Future, S: Schedule>() -> &'static Vtable { in vtable() argument 31 &Vtable { in vtable()
|
D | core.rs | 13 use crate::runtime::task::raw::{self, Vtable}; 73 pub(super) vtable: &'static Vtable,
|
/external/rust/crates/bindgen/src/codegen/ |
D | mod.rs | 1004 struct Vtable<'a> { struct 1012 impl<'a> Vtable<'a> { argument 1018 Vtable { in new() 1026 impl<'a> CodeGenerator for Vtable<'a> { implementation 1050 impl<'a> ItemCanonicalName for Vtable<'a> { implementation 1056 impl<'a> TryToRustTy for Vtable<'a> { implementation 1734 Vtable::new(item.id(), self.methods(), self.base_members()); in codegen()
|
/external/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 1193 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() local 1194 if (!Vtable) { in GetEHType() 1195 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, in GetEHType() 1201 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 2437 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() local 2438 if (!Vtable) { in GetEHType() 2439 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, in GetEHType() 2445 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()
|