14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
* file.
*/
.globl _of_forward
.globl _of_forward_stret
.section __TEXT, __objc_methname, cstring_literals
L_str_forwardingTargetForSelector:
.asciz "forwardingTargetForSelector:"
.section __DATA, __objc_selrefs, literal_pointers, no_dead_strip
L_sel_forwardingTargetForSelector:
.long L_str_forwardingTargetForSelector
.section __DATA, __objc_imageinfo, regular, no_dead_strip
.long 0, 0
.section __TEXT, __text, regular, pure_instructions
.arm
.align 2
_of_forward:
stmfd sp!, {r0-r3, lr}
fstmfdd sp!, {d0-d7}
blx _object_getClass
ldr r1, L_sel_forwardingTargetForSelector_indirect_L0
L0:
ldr r1, [pc, r1]
stmfd sp!, {r1}
blx _class_respondsToSelector
ldmfd sp!, {r1}
cmp r0, #0
beq fail
|
|
|
|
|
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
* file.
*/
.globl _of_forward
.globl _of_forward_stret
.section __TEXT, __objc_methname, cstring_literals
L_str_forwardingTargetForSelector_:
.asciz "forwardingTargetForSelector:"
.section __DATA, __objc_selrefs, literal_pointers, no_dead_strip
L_sel_forwardingTargetForSelector_:
.long L_str_forwardingTargetForSelector_
.section __DATA, __objc_imageinfo, regular, no_dead_strip
.long 0, 0
.section __TEXT, __text, regular, pure_instructions
.arm
.align 2
_of_forward:
stmfd sp!, {r0-r3, lr}
fstmfdd sp!, {d0-d7}
blx _object_getClass
ldr r1, L_sel_forwardingTargetForSelector_$indirect_L0
L0:
ldr r1, [pc, r1]
stmfd sp!, {r1}
blx _class_respondsToSelector
ldmfd sp!, {r1}
cmp r0, #0
beq fail
|
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
_of_forward_stret:
stmfd sp!, {r0-r3, lr}
fstmfdd sp!, {d0-d7}
mov r0, r1
blx _object_getClass
ldr r1, L_sel_forwardingTargetForSelector_indirect_L1
L1:
ldr r1, [pc, r1]
stmfd sp!, {r1}
blx _class_respondsToSelector
ldmfd sp!, {r1}
cmp r0, #0
beq fail_stret
|
|
|
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
_of_forward_stret:
stmfd sp!, {r0-r3, lr}
fstmfdd sp!, {d0-d7}
mov r0, r1
blx _object_getClass
ldr r1, L_sel_forwardingTargetForSelector_$indirect_L1
L1:
ldr r1, [pc, r1]
stmfd sp!, {r1}
blx _class_respondsToSelector
ldmfd sp!, {r1}
cmp r0, #0
beq fail_stret
|
109
110
111
112
113
114
115
116
117
118
119
120
|
fldmfdd sp!, {d0-d7}
ldmfd sp!, {r0-r3, lr}
mov r0, r1
mov r1, r2
b _of_method_not_found
.data_region
L_sel_forwardingTargetForSelector_indirect_L0:
.long L_sel_forwardingTargetForSelector-(L0+8)
L_sel_forwardingTargetForSelector_indirect_L1:
.long L_sel_forwardingTargetForSelector-(L1+8)
.end_data_region
|
|
|
|
|
|
109
110
111
112
113
114
115
116
117
118
119
120
|
fldmfdd sp!, {d0-d7}
ldmfd sp!, {r0-r3, lr}
mov r0, r1
mov r1, r2
b _of_method_not_found
.data_region
L_sel_forwardingTargetForSelector_$indirect_L0:
.long L_sel_forwardingTargetForSelector_-(L0+8)
L_sel_forwardingTargetForSelector_$indirect_L1:
.long L_sel_forwardingTargetForSelector_-(L1+8)
.end_data_region
|