[*] Binary protection state of pcretest
Partial RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function printf tear down of pcretest
113dc: e5bcfd18 ldr pc, [ip, #3352]! ; 0xd18
000113e0 <__fputc_unlocked@plt>:
113e0: e28fc600 add ip, pc, #0, 12
113e4: e28cca1b add ip, ip, #110592 ; 0x1b000
113e8: e5bcfd10 ldr pc, [ip, #3344]! ; 0xd10
000113ec <fopen64@plt>:
113ec: e28fc600 add ip, pc, #0, 12
113f0: e28cca1b add ip, ip, #110592 ; 0x1b000
113f4: e5bcfd08 ldr pc, [ip, #3336]! ; 0xd08
Disassembly of section .text:
000113f8 <.text>:
113f8: e3510000 cmp r1, #0
113fc: e92d4010 push {r4, lr}
11400: e1a04000 mov r4, r0
11404: 1a000001 bne 11410 <fopen64@plt+0x24>
11408: e59f0068 ldr r0, [pc, #104] ; 11478 <fopen64@plt+0x8c>
1140c: ebffff4e bl 1114c <printf@plt>
11410: e354000a cmp r4, #10
11414: 0a000011 beq 11460 <fopen64@plt+0x74>
--
1153c: e58db084 str fp, [sp, #132] ; 0x84
11540: e58db0fc str fp, [sp, #252] ; 0xfc
11544: e58db100 str fp, [sp, #256] ; 0x100
11548: e1a0a000 mov sl, r0
1154c: e3560001 cmp r6, #1
11550: da000004 ble 11568 <fopen64@plt+0x17c>
11554: e7974105 ldr r4, [r7, r5, lsl #2]
11558: e1a08105 lsl r8, r5, #2
1155c: e5d43000 ldrb r3, [r4]
11560: e353002d cmp r3, #45 ; 0x2d
11564: 0a00000f beq 115a8 <fopen64@plt+0x1bc>
11568: e59d30c0 ldr r3, [sp, #192] ; 0xc0
1156c: e1a04103 lsl r4, r3, #2
11570: e1a00004 mov r0, r4
11574: ebffff0f bl 111b8 <alloc@plt>
11578: e2503000 subs r3, r0, #0
1157c: e58d3090 str r3, [sp, #144] ; 0x90
11580: 1a0001f8 bne 11d68 <fopen64@plt+0x97c>
11584: e1a01004 mov r1, r4
11588: e59f0dd0 ldr r0, [pc, #3536] ; 12360 <fopen64@plt+0xf74>
1158c: ebfffeee bl 1114c <printf@plt>
11590: e59d3090 ldr r3, [sp, #144] ; 0x90
11594: e58d3060 str r3, [sp, #96] ; 0x60
--
11868: eb0012b3 bl 1633c <fopen64@plt+0x4f50>
1186c: e59d3198 ldr r3, [sp, #408] ; 0x198
11870: e5d33000 ldrb r3, [r3]
11874: e3530000 cmp r3, #0
11878: e1a08000 mov r8, r0
1187c: 1a00000f bne 118c0 <fopen64@plt+0x4d4>
11880: e28d4d4a add r4, sp, #4736 ; 0x1280
11884: e2844018 add r4, r4, #24
11888: e1a01004 mov r1, r4
1188c: e3a00003 mov r0, #3
11890: ebfffe3c bl 11188 <getrlimit64@plt>
11894: e1a00a08 lsl r0, r8, #20
11898: e1a01fc0 asr r1, r0, #31
1189c: e1c400f0 strd r0, [r4]
118a0: e1a01004 mov r1, r4
118a4: e3a00003 mov r0, #3
118a8: ebfffe24 bl 11140 <setrlimit64@plt>
118ac: e2501000 subs r1, r0, #0
118b0: 0affffac beq 11768 <fopen64@plt+0x37c>
118b4: e59f0b00 ldr r0, [pc, #2816] ; 123bc <fopen64@plt+0xfd0>
118b8: ebfffe23 bl 1114c <printf@plt>
118bc: eaffff6b b 11670 <fopen64@plt+0x284>
118c0: e59f1af8 ldr r1, [pc, #2808] ; 123c0 <fopen64@plt+0xfd4>
--
11970: 1a000139 bne 11e5c <fopen64@plt+0xa70>
11974: ea00010c b 11dac <fopen64@plt+0x9c0>
11978: e59f1a5c ldr r1, [pc, #2652] ; 123dc <fopen64@plt+0xff0>
1197c: e1a00004 mov r0, r4
11980: ebfffe4b bl 112b4 <strcmp@plt>
11984: e3500000 cmp r0, #0
11988: 0afffff0 beq 11950 <fopen64@plt+0x564>
1198c: e59f1a4c ldr r1, [pc, #2636] ; 123e0 <fopen64@plt+0xff4>
11990: e1a00004 mov r0, r4
11994: ebfffe46 bl 112b4 <strcmp@plt>
11998: e3500000 cmp r0, #0
1199c: 1a00000b bne 119d0 <fopen64@plt+0x5e4>
119a0: e59f39b0 ldr r3, [pc, #2480] ; 12358 <fopen64@plt+0xf6c>
119a4: e5933038 ldr r3, [r3, #56] ; 0x38
119a8: e3530000 cmp r3, #0
119ac: 1a000001 bne 119b8 <fopen64@plt+0x5cc>
119b0: e28d1fa6 add r1, sp, #664 ; 0x298
119b4: ebfffe38 bl 1129c <pcre_config@plt>
119b8: e59d1298 ldr r1, [sp, #664] ; 0x298
119bc: e59f0a20 ldr r0, [pc, #2592] ; 123e4 <fopen64@plt+0xff8>
119c0: ebfffde1 bl 1114c <printf@plt>
119c4: e59d3298 ldr r3, [sp, #664] ; 0x298
119c8: e58d3068 str r3, [sp, #104] ; 0x68
--
11a5c: e59d0298 ldr r0, [sp, #664] ; 0x298
11a60: e59f2990 ldr r2, [pc, #2448] ; 123f8 <fopen64@plt+0x100c>
11a64: e59f3990 ldr r3, [pc, #2448] ; 123fc <fopen64@plt+0x1010>
11a68: e3500000 cmp r0, #0
11a6c: 01a00002 moveq r0, r2
11a70: 11a00003 movne r0, r3
11a74: ebfffdcc bl 111ac <puts@plt>
11a78: eaffffed b 11a34 <fopen64@plt+0x648>
11a7c: e59f197c ldr r1, [pc, #2428] ; 12400 <fopen64@plt+0x1014>
11a80: e1a00004 mov r0, r4
11a84: ebfffe0a bl 112b4 <strcmp@plt>
11a88: e3500000 cmp r0, #0
11a8c: 0affffaf beq 11950 <fopen64@plt+0x564>
11a90: e59f196c ldr r1, [pc, #2412] ; 12404 <fopen64@plt+0x1018>
11a94: e1a00004 mov r0, r4
11a98: ebfffe05 bl 112b4 <strcmp@plt>
11a9c: e3500000 cmp r0, #0
11aa0: 0affffaa beq 11950 <fopen64@plt+0x564>
11aa4: e1a01004 mov r1, r4
11aa8: e59f0958 ldr r0, [pc, #2392] ; 12408 <fopen64@plt+0x101c>
11aac: ebfffda6 bl 1114c <printf@plt>
11ab0: eaffffa8 b 11958 <fopen64@plt+0x56c>
11ab4: e1a0100a mov r1, sl
11ab8: e59f094c ldr r0, [pc, #2380] ; 1240c <fopen64@plt+0x1020>
11abc: ebfffda2 bl 1114c <printf@plt>
11ac0: e59f0948 ldr r0, [pc, #2376] ; 12410 <fopen64@plt+0x1024>
11ac4: ebfffdb8 bl 111ac <puts@plt>
11ac8: e59f0944 ldr r0, [pc, #2372] ; 12414 <fopen64@plt+0x1028>
11acc: ebfffdb6 bl 111ac <puts@plt>
11ad0: e28d1fa6 add r1, sp, #664 ; 0x298
11ad4: e59d0068 ldr r0, [sp, #104] ; 0x68
11ad8: ebfffdef bl 1129c <pcre_config@plt>
11adc: e59d1298 ldr r1, [sp, #664] ; 0x298
11ae0: e59f4a2c ldr r4, [pc, #2604] ; 12514 <fopen64@plt+0x1128>
11ae4: e59f592c ldr r5, [pc, #2348] ; 12418 <fopen64@plt+0x102c>
11ae8: e3510000 cmp r1, #0
11aec: 11a01004 movne r1, r4
11af0: 01a01005 moveq r1, r5
11af4: e59f0920 ldr r0, [pc, #2336] ; 1241c <fopen64@plt+0x1030>
11af8: ebfffd93 bl 1114c <printf@plt>
11afc: e28d1fa6 add r1, sp, #664 ; 0x298
11b00: e3a00006 mov r0, #6
11b04: ebfffde4 bl 1129c <pcre_config@plt>
11b08: e59d1298 ldr r1, [sp, #664] ; 0x298
11b0c: e59f090c ldr r0, [pc, #2316] ; 12420 <fopen64@plt+0x1034>
11b10: e3510000 cmp r1, #0
11b14: 11a01004 movne r1, r4
11b18: 01a01005 moveq r1, r5
11b1c: ebfffd8a bl 1114c <printf@plt>
11b20: e28d1fa6 add r1, sp, #664 ; 0x298
11b24: e3a00009 mov r0, #9
11b28: ebfffddb bl 1129c <pcre_config@plt>
11b2c: e59d3298 ldr r3, [sp, #664] ; 0x298
11b30: e28d4d4a add r4, sp, #4736 ; 0x1280
11b34: e3530000 cmp r3, #0
11b38: e2844018 add r4, r4, #24
11b3c: 0a000056 beq 11c9c <fopen64@plt+0x8b0>
11b40: e1a01004 mov r1, r4
11b44: e3a0000b mov r0, #11
11b48: ebfffdd3 bl 1129c <pcre_config@plt>
11b4c: e5941000 ldr r1, [r4]
11b50: e59f08cc ldr r0, [pc, #2252] ; 12424 <fopen64@plt+0x1038>
11b54: ebfffd7c bl 1114c <printf@plt>
11b58: e28d1fa6 add r1, sp, #664 ; 0x298
11b5c: e3a00001 mov r0, #1
11b60: ebfffdcd bl 1129c <pcre_config@plt>
11b64: e3a01000 mov r1, #0
11b68: e59d0298 ldr r0, [sp, #664] ; 0x298
11b6c: ebfffe21 bl 113f8 <fopen64@plt+0xc>
11b70: e28d1fa6 add r1, sp, #664 ; 0x298
11b74: e3a00008 mov r0, #8
11b78: ebfffdc7 bl 1129c <pcre_config@plt>
11b7c: e59d1298 ldr r1, [sp, #664] ; 0x298
11b80: e59f28a0 ldr r2, [pc, #2208] ; 12428 <fopen64@plt+0x103c>
11b84: e59f38a0 ldr r3, [pc, #2208] ; 1242c <fopen64@plt+0x1040>
11b88: e3510000 cmp r1, #0
11b8c: 01a01002 moveq r1, r2
11b90: 11a01003 movne r1, r3
11b94: e59f0894 ldr r0, [pc, #2196] ; 12430 <fopen64@plt+0x1044>
11b98: ebfffd6b bl 1114c <printf@plt>
11b9c: e28d1fa6 add r1, sp, #664 ; 0x298
11ba0: e3a00002 mov r0, #2
11ba4: ebfffdbc bl 1129c <pcre_config@plt>
11ba8: e59d1298 ldr r1, [sp, #664] ; 0x298
11bac: e59f0880 ldr r0, [pc, #2176] ; 12434 <fopen64@plt+0x1048>
11bb0: ebfffd65 bl 1114c <printf@plt>
11bb4: e28d1fa6 add r1, sp, #664 ; 0x298
11bb8: e3a00003 mov r0, #3
11bbc: ebfffdb6 bl 1129c <pcre_config@plt>
11bc0: e59d1298 ldr r1, [sp, #664] ; 0x298
11bc4: e59f086c ldr r0, [pc, #2156] ; 12438 <fopen64@plt+0x104c>
11bc8: ebfffd5f bl 1114c <printf@plt>
11bcc: e1a01004 mov r1, r4
11bd0: e3a0000d mov r0, #13
11bd4: ebfffdb0 bl 1129c <pcre_config@plt>
11bd8: e5941000 ldr r1, [r4]
11bdc: e59f0858 ldr r0, [pc, #2136] ; 1243c <fopen64@plt+0x1050>
11be0: ebfffd59 bl 1114c <printf@plt>
11be4: e1a01004 mov r1, r4
11be8: e3a00004 mov r0, #4
11bec: ebfffdaa bl 1129c <pcre_config@plt>
11bf0: e5941000 ldr r1, [r4]
11bf4: e59f0844 ldr r0, [pc, #2116] ; 12440 <fopen64@plt+0x1054>
11bf8: ebfffd53 bl 1114c <printf@plt>
11bfc: e1a01004 mov r1, r4
11c00: e3a00007 mov r0, #7
11c04: ebfffda4 bl 1129c <pcre_config@plt>
11c08: e5941000 ldr r1, [r4]
11c0c: e59f0830 ldr r0, [pc, #2096] ; 12444 <fopen64@plt+0x1058>
11c10: ebfffd4d bl 1114c <printf@plt>
11c14: e28d1fa6 add r1, sp, #664 ; 0x298
11c18: e3a00005 mov r0, #5
11c1c: ebfffd9e bl 1129c <pcre_config@plt>
11c20: e59d1298 ldr r1, [sp, #664] ; 0x298
11c24: e59f381c ldr r3, [pc, #2076] ; 12448 <fopen64@plt+0x105c>
11c28: e59f281c ldr r2, [pc, #2076] ; 1244c <fopen64@plt+0x1060>
11c2c: e3510000 cmp r1, #0
11c30: 11a01003 movne r1, r3
11c34: 01a01002 moveq r1, r2
11c38: e59f0810 ldr r0, [pc, #2064] ; 12450 <fopen64@plt+0x1064>
11c3c: ebfffd42 bl 1114c <printf@plt>
11c40: e59d30d8 ldr r3, [sp, #216] ; 0xd8
11c44: e3530000 cmp r3, #0
11c48: 0a000010 beq 11c90 <fopen64@plt+0x8a4>
11c4c: e59f3800 ldr r3, [pc, #2048] ; 12454 <fopen64@plt+0x1068>
11c50: e3a02000 mov r2, #0
11c54: e1a01002 mov r1, r2
11c58: e58d200c str r2, [sp, #12]
11c5c: e58d2008 str r2, [sp, #8]
11c60: e58d2004 str r2, [sp, #4]
11c64: e58d3000 str r3, [sp]
11c68: e1a00002 mov r0, r2
11c6c: ebfffdcf bl 113b0 <pcre_exec@plt>
11c70: e59dc298 ldr ip, [sp, #664] ; 0x298
11c74: e59f37dc ldr r3, [pc, #2012] ; 12458 <fopen64@plt+0x106c>
11c78: e35c0000 cmp ip, #0
11c7c: e59f1890 ldr r1, [pc, #2192] ; 12514 <fopen64@plt+0x1128>
11c80: 11a01003 movne r1, r3
11c84: e2602000 rsb r2, r0, #0
11c88: e59f07cc ldr r0, [pc, #1996] ; 1245c <fopen64@plt+0x1070>
11c8c: ebfffd2e bl 1114c <printf@plt>
11c90: e3a0000a mov r0, #10
11c94: ebfffd20 bl 1111c <putchar@plt>
11c98: eaffff2e b 11958 <fopen64@plt+0x56c>
11c9c: e59f07bc ldr r0, [pc, #1980] ; 12460 <fopen64@plt+0x1074>
11ca0: ebfffd41 bl 111ac <puts@plt>
11ca4: eaffffab b 11b58 <fopen64@plt+0x76c>
11ca8: e59f17b4 ldr r1, [pc, #1972] ; 12464 <fopen64@plt+0x1078>
11cac: e1a00004 mov r0, r4
11cb0: ebfffd7f bl 112b4 <strcmp@plt>
11cb4: e3500000 cmp r0, #0
11cb8: 0a000004 beq 11cd0 <fopen64@plt+0x8e4>
11cbc: e59f17a4 ldr r1, [pc, #1956] ; 12468 <fopen64@plt+0x107c>
11cc0: e1a00004 mov r0, r4
11cc4: ebfffd7a bl 112b4 <strcmp@plt>
11cc8: e3500000 cmp r0, #0
11ccc: 1a000002 bne 11cdc <fopen64@plt+0x8f0>
11cd0: eb0011d4 bl 16428 <fopen64@plt+0x503c>
11cd4: e3a03000 mov r3, #0
11cd8: eaffff3a b 119c8 <fopen64@plt+0x5dc>
11cdc: e1a01004 mov r1, r4
11ce0: e59f0784 ldr r0, [pc, #1924] ; 1246c <fopen64@plt+0x1080>
11ce4: ebfffd18 bl 1114c <printf@plt>
11ce8: eb0011ce bl 16428 <fopen64@plt+0x503c>
11cec: eaffff10 b 11934 <fopen64@plt+0x548>
--
11d44: e3a03802 mov r3, #131072 ; 0x20000
11d48: e58d30fc str r3, [sp, #252] ; 0xfc
11d4c: eafffeb7 b 11830 <fopen64@plt+0x444>
11d50: e3a03001 mov r3, #1
11d54: e58d3104 str r3, [sp, #260] ; 0x104
11d58: eafffeb4 b 11830 <fopen64@plt+0x444>
11d5c: e3a03001 mov r3, #1
11d60: e58d30b4 str r3, [sp, #180] ; 0xb4
11d64: eafffeb1 b 11830 <fopen64@plt+0x444>
11d68: e3560001 cmp r6, #1
11d6c: da000042 ble 11e7c <fopen64@plt+0xa90>
11d70: e59f16f8 ldr r1, [pc, #1784] ; 12470 <fopen64@plt+0x1084>
11d74: e7970105 ldr r0, [r7, r5, lsl #2]
11d78: ebfffd9b bl 113ec <fopen64@plt>
11d7c: e1a04105 lsl r4, r5, #2
11d80: e2503000 subs r3, r0, #0
11d84: e58d3074 str r3, [sp, #116] ; 0x74
11d88: 1a000021 bne 11e14 <fopen64@plt+0xa28>
11d8c: e7971105 ldr r1, [r7, r5, lsl #2]
11d90: e59f06dc ldr r0, [pc, #1756] ; 12474 <fopen64@plt+0x1088>
11d94: ebfffcec bl 1114c <printf@plt>
11d98: e59d3074 ldr r3, [sp, #116] ; 0x74
11d9c: e58d3060 str r3, [sp, #96] ; 0x60
--
11df8: 0a000001 beq 11e04 <fopen64@plt+0xa18>
11dfc: e1a00003 mov r0, r3
11e00: ebfffd73 bl 113d4 <free@plt>
11e04: e59d0068 ldr r0, [sp, #104] ; 0x68
11e08: e28ddd8a add sp, sp, #8832 ; 0x2280
11e0c: e28dd01c add sp, sp, #28
11e10: e8bd8ff0 pop {r4, r5, r6, r7, r8, r9, sl, fp, pc}
11e14: e3560002 cmp r6, #2
11e18: 0a000017 beq 11e7c <fopen64@plt+0xa90>
11e1c: e2844004 add r4, r4, #4
11e20: e59f1704 ldr r1, [pc, #1796] ; 1252c <fopen64@plt+0x1140>
11e24: e7970004 ldr r0, [r7, r4]
11e28: ebfffd6f bl 113ec <fopen64@plt>
11e2c: e59f3524 ldr r3, [pc, #1316] ; 12358 <fopen64@plt+0xf6c>
11e30: e3500000 cmp r0, #0
11e34: e1a05000 mov r5, r0
11e38: e583000c str r0, [r3, #12]
11e3c: 1a00000e bne 11e7c <fopen64@plt+0xa90>
11e40: e7971004 ldr r1, [r7, r4]
11e44: e59f0628 ldr r0, [pc, #1576] ; 12474 <fopen64@plt+0x1088>
11e48: ebfffcbf bl 1114c <printf@plt>
11e4c: e3a03001 mov r3, #1
11e50: e58d5060 str r5, [sp, #96] ; 0x60
--
11ff8: 1afffff8 bne 11fe0 <fopen64@plt+0xbf4>
11ffc: e28d3f66 add r3, sp, #408 ; 0x198
12000: e2422001 sub r2, r2, #1
12004: e28d1d06 add r1, sp, #384 ; 0x180
12008: e2430001 sub r0, r3, #1
1200c: e5f2c001 ldrb ip, [r2, #1]!
12010: e1a0308c lsl r3, ip, #1
12014: e19730b3 ldrh r3, [r7, r3]
12018: e1a032a3 lsr r3, r3, #5
1201c: e2233001 eor r3, r3, #1
12020: e1510000 cmp r1, r0
12024: 23a03000 movcs r3, #0
12028: 32033001 andcc r3, r3, #1
1202c: e3530000 cmp r3, #0
12030: 05c13000 strbeq r3, [r1]
12034: 0affffaf beq 11ef8 <fopen64@plt+0xb0c>
12038: e4c1c001 strb ip, [r1], #1
1203c: eafffff2 b 1200c <fopen64@plt+0xc20>
12040: e59f045c ldr r0, [pc, #1116] ; 124a4 <fopen64@plt+0x10b8>
12044: e1a01004 mov r1, r4
12048: ebfffc3f bl 1114c <printf@plt>
1204c: eafffd52 b 1159c <fopen64@plt+0x1b0>
12050: e2894001 add r4, r9, #1
--
130e8: e3a02000 mov r2, #0
130ec: e596100c ldr r1, [r6, #12]
130f0: e1a00007 mov r0, r7
130f4: eb000e07 bl 16918 <fopen64@plt+0x552c>
130f8: e3500000 cmp r0, #0
130fc: 1a000002 bne 1310c <fopen64@plt+0x1d20>
13100: e51f0ba4 ldr r0, [pc, #-2980] ; 12564 <fopen64@plt+0x1178>
13104: ebfff828 bl 111ac <puts@plt>
13108: eafff923 b 1159c <fopen64@plt+0x1b0>
1310c: e15b0000 cmp fp, r0
13110: 1affff79 bne 12efc <fopen64@plt+0x1b10>
13114: e1a01005 mov r1, r5
13118: e5d13000 ldrb r3, [r1]
1311c: e2812001 add r2, r1, #1
13120: e353003e cmp r3, #62 ; 0x3e
13124: 1a000005 bne 13140 <fopen64@plt+0x1d54>
13128: e0411005 sub r1, r1, r5
1312c: e1a02005 mov r2, r5
13130: e2811001 add r1, r1, #1
13134: e51f0bd4 ldr r0, [pc, #-3028] ; 12568 <fopen64@plt+0x117c>
13138: ebfff803 bl 1114c <printf@plt>
1313c: eafff916 b 1159c <fopen64@plt+0x1b0>
13140: e1a01002 mov r1, r2
--
167b8: e59f6140 ldr r6, [pc, #320] ; 16900 <fopen64@plt+0x5514>
167bc: e24dd014 sub sp, sp, #20
167c0: e1a0b000 mov fp, r0
167c4: e1a08001 mov r8, r1
167c8: e1a04001 mov r4, r1
167cc: e58d2008 str r2, [sp, #8]
167d0: e59f312c ldr r3, [pc, #300] ; 16904 <fopen64@plt+0x5518>
167d4: e5967010 ldr r7, [r6, #16]
167d8: e5939000 ldr r9, [r3]
167dc: e0483007 sub r3, r8, r7
167e0: e0495003 sub r5, r9, r3
167e4: e3550ffa cmp r5, #1000 ; 0x3e8
167e8: e58d3004 str r3, [sp, #4]
167ec: 9a00001a bls 1685c <fopen64@plt+0x5470>
167f0: e59f3110 ldr r3, [pc, #272] ; 16908 <fopen64@plt+0x551c>
167f4: e5933000 ldr r3, [r3]
167f8: e153000b cmp r3, fp
167fc: 1a000002 bne 1680c <fopen64@plt+0x5420>
16800: e59d1008 ldr r1, [sp, #8]
16804: e59f0100 ldr r0, [pc, #256] ; 1690c <fopen64@plt+0x5520>
16808: ebffea4f bl 1114c <printf@plt>
1680c: e1a0200b mov r2, fp
16810: e1a01005 mov r1, r5
[*] Function printf used 23 times pcretest