Created
April 30, 2011 15:36
-
-
Save kevinmcmahon/949755 to your computer and use it in GitHub Desktop.
Example showing a non-Thumb static iOS library using otool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
otool -tv libfacebook_ios_sdk.a | |
Archive : libfacebook_ios_sdk.a (architecture armv6) | |
libfacebook_ios_sdk.a(FBRequest.o) (architecture armv6): | |
(__TEXT,__text) section | |
-[FBRequest loading]: | |
00000000 e59f3010 ldr r3, [pc, #16] ; 0x18 | |
00000004 e79f3003 ldr r3, [pc, r3] | |
00000008 e7900003 ldr r0, [r0, r3] | |
0000000c e2500000 subs r0, r0, #0 ; 0x0 | |
00000010 13a00001 movne r0, #1 ; 0x1 | |
00000014 e12fff1e bx lr | |
00000018 00005ce4 andeq r5, r0, r4, ror #25 | |
-[FBRequest connection:willCacheResponse:]: | |
0000001c e3a00000 mov r0, #0 ; 0x0 | |
00000020 e12fff1e bx lr | |
-[FBRequest responseText]: | |
00000024 e59f3008 ldr r3, [pc, #8] ; 0x34 | |
00000028 e79f3003 ldr r3, [pc, r3] | |
0000002c e7900003 ldr r0, [r0, r3] | |
00000030 e12fff1e bx lr | |
00000034 00005cc4 andeq r5, r0, r4, asr #25 | |
-[FBRequest setResponseText:]: | |
00000038 e59f3008 ldr r3, [pc, #8] ; 0x48 | |
0000003c e79f3003 ldr r3, [pc, r3] | |
00000040 e7802003 str r2, [r0, r3] | |
00000044 e12fff1e bx lr | |
00000048 00005cb0 strheq r5, [r0], -r0 | |
-[FBRequest connection]: | |
0000004c e59f3008 ldr r3, [pc, #8] ; 0x5c | |
00000050 e79f3003 ldr r3, [pc, r3] | |
00000054 e7900003 ldr r0, [r0, r3] | |
00000058 e12fff1e bx lr | |
0000005c 00005c98 muleq r0, r8, ip | |
-[FBRequest setConnection:]: | |
00000060 e59f3008 ldr r3, [pc, #8] ; 0x70 | |
00000064 e79f3003 ldr r3, [pc, r3] | |
00000068 e7802003 str r2, [r0, r3] | |
0000006c e12fff1e bx lr | |
00000070 00005c84 andeq r5, r0, r4, lsl #25 | |
-[FBRequest params]: | |
00000074 e59f3008 ldr r3, [pc, #8] ; 0x84 | |
00000078 e79f3003 ldr r3, [pc, r3] | |
0000007c e7900003 ldr r0, [r0, r3] | |
00000080 e12fff1e bx lr | |
00000084 00005c60 andeq r5, r0, r0, ror #24 | |
-[FBRequest httpMethod]: | |
00000088 e59f3008 ldr r3, [pc, #8] ; 0x98 | |
0000008c e79f3003 ldr r3, [pc, r3] | |
00000090 e7900003 ldr r0, [r0, r3] | |
00000094 e12fff1e bx lr | |
00000098 00005c50 andeq r5, r0, r0, asr ip | |
-[FBRequest url]: | |
0000009c e59f3008 ldr r3, [pc, #8] ; 0xac | |
000000a0 e79f3003 ldr r3, [pc, r3] | |
000000a4 e7900003 ldr r0, [r0, r3] | |
000000a8 e12fff1e bx lr | |
000000ac 00005c40 andeq r5, r0, r0, asr #24 | |
-[FBRequest delegate]: | |
000000b0 e59f3008 ldr r3, [pc, #8] ; 0xc0 | |
000000b4 e79f3003 ldr r3, [pc, r3] | |
000000b8 e7900003 ldr r0, [r0, r3] | |
000000bc e12fff1e bx lr | |
000000c0 00005c30 andeq r5, r0, r0, lsr ip | |
-[FBRequest setDelegate:]: | |
000000c4 e59f3008 ldr r3, [pc, #8] ; 0xd4 | |
000000c8 e79f3003 ldr r3, [pc, r3] | |
000000cc e7802003 str r2, [r0, r3] | |
000000d0 e12fff1e bx lr | |
000000d4 00005c1c andeq r5, r0, ip, lsl ip | |
-[FBRequest connection:didFailWithError:]: | |
000000d8 e92d40f0 push {r4, r5, r6, r7, lr} | |
000000dc e28d700c add r7, sp, #12 ; 0xc | |
000000e0 e52d8004 push {r8} ; (str r8, [sp, #-4]!) | |
000000e4 e59f4060 ldr r4, [pc, #96] ; 0x14c | |
000000e8 e59f1060 ldr r1, [pc, #96] ; 0x150 | |
000000ec e1a02003 mov r2, r3 | |
000000f0 e08f4004 add r4, pc, r4 | |
000000f4 e79f1001 ldr r1, [pc, r1] | |
000000f8 e1a05000 mov r5, r0 | |
000000fc eb0005ad bl 0x17b8 | |
00000100 e5943000 ldr r3, [r4] | |
00000104 e59f1048 ldr r1, [pc, #72] ; 0x154 | |
00000108 e3a08000 mov r8, #0 ; 0x0 | |
0000010c e79f6001 ldr r6, [pc, r1] | |
00000110 e7950003 ldr r0, [r5, r3] | |
00000114 e1a01006 mov r1, r6 | |
00000118 eb0005a6 bl 0x17b8 | |
0000011c e5943000 ldr r3, [r4] | |
00000120 e59f4030 ldr r4, [pc, #48] ; 0x158 | |
00000124 e1a01006 mov r1, r6 | |
00000128 e08f4004 add r4, pc, r4 | |
0000012c e7858003 str r8, [r5, r3] | |
00000130 e5943000 ldr r3, [r4] | |
00000134 e7950003 ldr r0, [r5, r3] | |
00000138 eb00059e bl 0x17b8 | |
0000013c e5943000 ldr r3, [r4] | |
00000140 e7858003 str r8, [r5, r3] | |
00000144 e8bd0100 pop {r8} | |
00000148 e8bd80f0 pop {r4, r5, r6, r7, pc} | |
0000014c 00005bfc strdeq r5, [r0], -ip | |
00000150 00005c6c andeq r5, r0, ip, ror #24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment