Searched defs:Vtable (Results 1 - 3 of 3) sorted by relevance
/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers_cxx.cc | 98 void HandleCFIBadType(CFICheckFailData *Data, ValueHandle Vtable, argument 108 ? getDynamicTypeInfoFromVtable((void *)Vtable) 131 << Data->Type << CheckKindStr << (void *)Vtable; 135 const char *module = Symbolizer::GetOrInit()->GetModuleNameForPc(Vtable); 137 Diag(Vtable, DL_Note, "invalid vtable in module %0") << module; 139 Diag(Vtable, DL_Note, "invalid vtable"); 141 Diag(Vtable, DL_Note, "vtable is of type %0")
|
H A D | ubsan_type_hash_itanium.cc | 196 VtablePrefix *getVtablePrefix(void *Vtable) { argument 197 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); 221 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); local 222 if (!Vtable) 224 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) { 225 // Too large or too small offset are signs of Vtable corruption. 231 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); 236 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset)) 247 VtablePrefix *Vtable local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGObjCGNU.cpp | 1193 auto *Vtable = TheModule.getGlobalVariable(vtableName); local 1194 if (!Vtable) { 1195 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, 1201 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two),
|
Completed in 252 milliseconds