this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

objc_msgSendSuper fix on x86, previous fix only worked around the real bug

+3 -3
+2 -2
src/libobjcdarwin/objc_msgSendSuper.nasm
··· 108 108 mov eax, [esp-4] ; restore the IMP 109 109 %endmacro 110 110 111 - __darwin_objc_msgSendSuper: 111 + __darwin_objc_msgSendSuper2: 112 112 mov eax, [esp+4] ; get objc_super* 113 113 ; make a copy on the stack 114 114 mov ecx, [eax] ; 1st elem ··· 131 131 132 132 jmp eax 133 133 134 - __darwin_objc_msgSendSuper_xxx: 134 + __darwin_objc_msgSendSuper: 135 135 136 136 mov eax, [esp+8] 137 137 push eax
+1 -1
src/libobjcdarwin/old/class.cpp
··· 134 134 for (uint16_t i = 0; i < info->symtab->countClasses; i++) 135 135 { 136 136 old_class* cls = static_cast<old_class*>(info->symtab->classesAndCategories[i])->isa.cls; 137 - Class c = (Class) objc_getMetaClass(cls->name); 137 + Class c = (Class) objc_getMetaClass(cls->super_class.name); 138 138 LOG << "ObjC fixup super_class @" << cls << ": " << cls->name << " -> " << c << std::endl; 139 139 cls->super_class.clsNew = c; 140 140 }