HomeSort by: relevance | last modified time | path
    Searched defs:Vtable (Results 1 - 8 of 8) 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_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...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_type_hash_itanium.cpp 143 // FIXME: OffsetHere is the offset in the vtable of the virtual base
144 // offset. Read the vbase offset out of the vtable and use it.
197 VtablePrefix *getVtablePrefix(void *Vtable) {
198 Vtable = ptrauth_auth_data(Vtable, ptrauth_key_cxx_vtable_pointer, 0);
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)
    [all...]
ubsan_type_hash_itanium.cpp 143 // FIXME: OffsetHere is the offset in the vtable of the virtual base
144 // offset. Read the vbase offset out of the vtable and use it.
197 VtablePrefix *getVtablePrefix(void *Vtable) {
198 Vtable = ptrauth_auth_data(Vtable, ptrauth_key_cxx_vtable_pointer, 0);
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)
    [all...]
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_type_hash_itanium.cpp 155 // FIXME: OffsetHere is the offset in the vtable of the virtual base
156 // offset. Read the vbase offset out of the vtable and use it.
209 VtablePrefix *getVtablePrefix(void *Vtable) {
210 Vtable = ptrauth_auth_data(Vtable, ptrauth_key_cxx_vtable_pointer, 0);
211 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable);
216 // This can't possibly be a valid vtable.
235 VtablePrefix *Vtable = getVtablePrefix(VtablePtr);
236 if (!Vtable)
238 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop)
    [all...]
ubsan_type_hash_itanium.cpp 155 // FIXME: OffsetHere is the offset in the vtable of the virtual base
156 // offset. Read the vbase offset out of the vtable and use it.
209 VtablePrefix *getVtablePrefix(void *Vtable) {
210 Vtable = ptrauth_auth_data(Vtable, ptrauth_key_cxx_vtable_pointer, 0);
211 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable);
216 // This can't possibly be a valid vtable.
235 VtablePrefix *Vtable = getVtablePrefix(VtablePtr);
236 if (!Vtable)
238 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGObjCGNU.cpp 2437 // vtable for gnustep::libobjc::__objc_class_type_info
2441 auto *Vtable = TheModule.getGlobalVariable(vtableName);
2442 if (!Vtable) {
2443 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true,
2449 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two),
CGObjCGNU.cpp 2437 // vtable for gnustep::libobjc::__objc_class_type_info
2441 auto *Vtable = TheModule.getGlobalVariable(vtableName);
2442 if (!Vtable) {
2443 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true,
2449 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two),

Completed in 53 milliseconds