this repo has no description
1
fork

Configure Feed

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

Implemented objc_msgSendSuper2_fixup and covered that in tests/src/objc_super.m

+13
+6
src/libobjcdarwin/objc_msgSend_fixup.nasm
··· 1 1 global __darwin_objc_msgSend_fixup 2 + global objc_msgSendSuper2_fixup 2 3 extern objc_msgSend 4 + extern __darwin_objc_msgSendSuper2 3 5 4 6 section .note.GNU-stack noalloc noexec nowrite progbits 5 7 ··· 13 15 __darwin_objc_msgSend_fixup: 14 16 mov rsi, [rsi+8] 15 17 jmp objc_msgSend WRT ..plt 18 + 19 + objc_msgSendSuper2_fixup: 20 + mov rsi, [rsi+8] 21 + jmp __darwin_objc_msgSendSuper2 WRT ..plt 16 22 17 23 %elifidn __OUTPUT_FORMAT__, elf 18 24
+7
tests/src/objc_super.m
··· 33 33 //printf("self at %p\n", self); 34 34 [super doHello]; 35 35 } 36 + 37 + - (BOOL)respondsToSelector:(SEL)aSelector 38 + { 39 + return [super respondsToSelector:aSelector]; 40 + } 41 + 36 42 @end 37 43 38 44 int main() 39 45 { 40 46 c = [subclass new]; 41 47 //printf("Obj at %p\n", c); 48 + printf("Responds: %d\n", [c respondsToSelector:@selector(doHello)]); 42 49 [c doHello]; 43 50 [c release]; 44 51 return 0;