HomeSort by relevance Sort by last modified time
    Searched refs:Vtable (Results 1 - 7 of 7) sorted by null

  /external/compiler-rt/lib/ubsan/
ubsan_type_hash_itanium.cc 142 // FIXME: OffsetHere is the offset in the vtable of the virtual base
143 // offset. Read the vbase offset out of the vtable and use it.
196 VtablePrefix *getVtablePrefix(void *Vtable) {
197 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable);
202 // This can't possibly be a valid vtable.
221 VtablePrefix *Vtable = getVtablePrefix(VtablePtr);
222 if (!Vtable)
224 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) {
225 // Too large or too small offset are signs of Vtable corruption
    [all...]
ubsan_handlers_cxx.cc 98 void HandleCFIBadType(CFICheckFailData *Data, ValueHandle Vtable,
108 ? getDynamicTypeInfoFromVtable((void *)Vtable)
130 "%1 (vtable address %2)")
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"
    [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.cc 553 void HandleCFIBadType(CFICheckFailData *Data, ValueHandle Vtable,
556 static void HandleCFIBadType(CFICheckFailData *Data, ValueHandle Vtable,
  /development/vndk/tools/vtable-dumper/
elf_handling.cpp 130 for (const VTable &Vtable : mVTables) {
131 if (Vtable.getVTableSize() == 0)
133 outs() << Vtable.getDemangledName()
135 << Vtable.getMangledName()
137 << Vtable.getVTableSize()
140 for (const VFunction &Vfunction : Vtable) {
160 for (VTable &Vtable : mVTables) {
163 // should not result in the vtable layout changing
    [all...]
  /external/clang/lib/CodeGen/
CGObjCGNU.cpp     [all...]
  /external/flatbuffers/tests/
JavaScriptTest.js 260 var fixed_fields = 2; // Vtable size and Object Size.
330 var vtable = offset - view.getInt32(offset, true);
331 assert.ok(vtable_offset < view.getInt16(vtable, true));
332 var field_offset = offset + view.getInt16(vtable + vtable_offset, true);

Completed in 105 milliseconds