HomeSort by: relevance | last modified time | path
    Searched refs:Vtable (Results 1 - 5 of 5) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_type_hash_itanium.cc 144 // FIXME: OffsetHere is the offset in the vtable of the virtual base
145 // offset. Read the vbase offset out of the vtable and use it.
198 VtablePrefix *getVtablePrefix(void *Vtable) {
199 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable);
204 // This can't possibly be a valid vtable.
223 VtablePrefix *Vtable = getVtablePrefix(VtablePtr);
224 if (!Vtable)
226 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) {
227 // Too large or too small offset are signs of Vtable corruption
    [all...]
ubsan_handlers_cxx.cc 99 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
109 ? getDynamicTypeInfoFromVtable((void *)Vtable)
136 "%1 (vtable address %2)")
137 << Data->Type << CheckKindStr << (void *)Vtable;
141 Diag(Vtable, DL_Note, ET, "invalid vtable");
143 Diag(Vtable, DL_Note, ET, "vtable is of type %0")
146 // If the failure involved different DSOs for the check location and vtable,
148 const char *DstModule = Symbolizer::GetOrInit()->GetModuleNameForPc(Vtable);
    [all...]
ubsan_type_hash.h 46 /// \brief Get information about the dynamic type of an object from its vtable.
47 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
56 /// A sanity check for Vtable. Offsets to top must be reasonably small
57 /// numbers (by absolute value). It's a weak check for Vtable corruption.
ubsan_handlers.h 222 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
ubsan_handlers.cc 762 ValueHandle Vtable,
772 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
776 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,

Completed in 14 milliseconds