[*] Binary protection state of mtd_debug
Partial RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function printf tear down of mtd_debug
10804: 0a000092 beq 10a54 <fopen64@plt+0x354>
10808: e28d2020 add r2, sp, #32
1080c: e59f1690 ldr r1, [pc, #1680] ; 10ea4 <fopen64@plt+0x7a4>
10810: ebffff75 bl 105ec <ioctl@plt>
10814: e3500000 cmp r0, #0
10818: b59f0688 ldrlt r0, [pc, #1672] ; 10ea8 <fopen64@plt+0x7a8>
1081c: ba000026 blt 108bc <fopen64@plt+0x1bc>
10820: e28d201c add r2, sp, #28
10824: e59f1680 ldr r1, [pc, #1664] ; 10eac <fopen64@plt+0x7ac>
10828: e1a00009 mov r0, r9
1082c: ebffff6e bl 105ec <ioctl@plt>
10830: e3500000 cmp r0, #0
10834: 1a00001d bne 108b0 <fopen64@plt+0x1b0>
10838: e59f5670 ldr r5, [pc, #1648] ; 10eb0 <fopen64@plt+0x7b0>
1083c: e59f6670 ldr r6, [pc, #1648] ; 10eb4 <fopen64@plt+0x7b4>
10840: e1a04000 mov r4, r0
10844: e59d301c ldr r3, [sp, #28]
10848: e1540003 cmp r4, r3
1084c: ba00000e blt 1088c <fopen64@plt+0x18c>
10850: e59f0660 ldr r0, [pc, #1632] ; 10eb8 <fopen64@plt+0x7b8>
10854: ebffff67 bl 105f8 <printf@plt>
10858: e5dd3020 ldrb r3, [sp, #32]
1085c: e3530008 cmp r3, #8
--
1087c: 000109dc ldrdeq r0, [r1], -ip
10880: 000109cc andeq r0, r1, ip, asr #19
10884: 000109d4 ldrdeq r0, [r1], -r4
10888: 000109c4 andeq r0, r1, r4, asr #19
1088c: e585400c str r4, [r5, #12]
10890: e1a02005 mov r2, r5
10894: e1a01006 mov r1, r6
10898: e1a00009 mov r0, r9
1089c: ebffff52 bl 105ec <ioctl@plt>
108a0: e2855010 add r5, r5, #16
108a4: e3500000 cmp r0, #0
108a8: 02844001 addeq r4, r4, #1
108ac: 0affffe4 beq 10844 <fopen64@plt+0x144>
108b0: e3500000 cmp r0, #0
108b4: aaffffe5 bge 10850 <fopen64@plt+0x150>
108b8: e59f05fc ldr r0, [pc, #1532] ; 10ebc <fopen64@plt+0x7bc>
108bc: ebffff50 bl 10604 <perror@plt>
108c0: e3a0b000 mov fp, #0
108c4: ea00009d b 10b40 <fopen64@plt+0x440>
108c8: e59f05f0 ldr r0, [pc, #1520] ; 10ec0 <fopen64@plt+0x7c0>
108cc: ebffff49 bl 105f8 <printf@plt>
108d0: e59f05ec ldr r0, [pc, #1516] ; 10ec4 <fopen64@plt+0x7c4>
108d4: ebffff47 bl 105f8 <printf@plt>
108d8: e59d3024 ldr r3, [sp, #36] ; 0x24
108dc: e3530000 cmp r3, #0
108e0: 059f05e0 ldreq r0, [pc, #1504] ; 10ec8 <fopen64@plt+0x7c8>
108e4: 0a000002 beq 108f4 <fopen64@plt+0x1f4>
108e8: e3530b07 cmp r3, #7168 ; 0x1c00
108ec: 1a00003c bne 109e4 <fopen64@plt+0x2e4>
108f0: e59f05d4 ldr r0, [pc, #1492] ; 10ecc <fopen64@plt+0x7cc>
108f4: ebffff3f bl 105f8 <printf@plt>
108f8: e59f05d0 ldr r0, [pc, #1488] ; 10ed0 <fopen64@plt+0x7d0>
108fc: ebffff3d bl 105f8 <printf@plt>
10900: e59d0028 ldr r0, [sp, #40] ; 0x28
10904: eb0001e4 bl 1109c <fopen64@plt+0x99c>
10908: e59f05c4 ldr r0, [pc, #1476] ; 10ed4 <fopen64@plt+0x7d4>
1090c: ebffff39 bl 105f8 <printf@plt>
10910: e59d002c ldr r0, [sp, #44] ; 0x2c
10914: eb0001e0 bl 1109c <fopen64@plt+0x99c>
10918: e59f05b8 ldr r0, [pc, #1464] ; 10ed8 <fopen64@plt+0x7d8>
1091c: ebffff35 bl 105f8 <printf@plt>
10920: e59d0030 ldr r0, [sp, #48] ; 0x30
10924: eb0001dc bl 1109c <fopen64@plt+0x99c>
10928: e59f05ac ldr r0, [pc, #1452] ; 10edc <fopen64@plt+0x7dc>
1092c: ebffff31 bl 105f8 <printf@plt>
10930: e59d0034 ldr r0, [sp, #52] ; 0x34
10934: eb0001d8 bl 1109c <fopen64@plt+0x99c>
10938: e59d101c ldr r1, [sp, #28]
1093c: e59f059c ldr r0, [pc, #1436] ; 10ee0 <fopen64@plt+0x7e0>
10940: ebffff2c bl 105f8 <printf@plt>
10944: e59f5564 ldr r5, [pc, #1380] ; 10eb0 <fopen64@plt+0x7b0>
10948: e59f6594 ldr r6, [pc, #1428] ; 10ee4 <fopen64@plt+0x7e4>
1094c: e59f7594 ldr r7, [pc, #1428] ; 10ee8 <fopen64@plt+0x7e8>
10950: e3a04000 mov r4, #0
10954: e59d301c ldr r3, [sp, #28]
10958: e2855010 add r5, r5, #16
1095c: e1540003 cmp r4, r3
10960: aaffffd6 bge 108c0 <fopen64@plt+0x1c0>
10964: e1a03004 mov r3, r4
10968: e1a01004 mov r1, r4
1096c: e5152010 ldr r2, [r5, #-16]
10970: e1a00006 mov r0, r6
10974: ebffff1f bl 105f8 <printf@plt>
10978: e515000c ldr r0, [r5, #-12]
1097c: eb0001c6 bl 1109c <fopen64@plt+0x99c>
10980: e5153004 ldr r3, [r5, #-4]
10984: e1a01004 mov r1, r4
10988: e58d3000 str r3, [sp]
1098c: e1a00007 mov r0, r7
10990: e1a03004 mov r3, r4
10994: e5152008 ldr r2, [r5, #-8]
10998: ebffff16 bl 105f8 <printf@plt>
1099c: e2844001 add r4, r4, #1
109a0: eaffffeb b 10954 <fopen64@plt+0x254>
--
109e0: eaffffb9 b 108cc <fopen64@plt+0x1cc>
109e4: e3530b03 cmp r3, #3072 ; 0xc00
109e8: 059f051c ldreq r0, [pc, #1308] ; 10f0c <fopen64@plt+0x80c>
109ec: 0affffc0 beq 108f4 <fopen64@plt+0x1f4>
109f0: e3530b01 cmp r3, #1024 ; 0x400
109f4: 0a000011 beq 10a40 <fopen64@plt+0x340>
109f8: e59f4510 ldr r4, [pc, #1296] ; 10f10 <fopen64@plt+0x810>
109fc: e59f6510 ldr r6, [pc, #1296] ; 10f14 <fopen64@plt+0x814>
10a00: e59f7510 ldr r7, [pc, #1296] ; 10f18 <fopen64@plt+0x818>
10a04: e3a05001 mov r5, #1
10a08: e5141004 ldr r1, [r4, #-4]
10a0c: e3510000 cmp r1, #0
10a10: 0affffb8 beq 108f8 <fopen64@plt+0x1f8>
10a14: e5943000 ldr r3, [r4]
10a18: e59d2024 ldr r2, [sp, #36] ; 0x24
10a1c: e1120003 tst r2, r3
10a20: 0a000004 beq 10a38 <fopen64@plt+0x338>
10a24: e3550000 cmp r5, #0
10a28: 0a000006 beq 10a48 <fopen64@plt+0x348>
10a2c: e1a00007 mov r0, r7
10a30: ebfffef0 bl 105f8 <printf@plt>
10a34: e3a05000 mov r5, #0
10a38: e2844008 add r4, r4, #8
10a3c: eafffff1 b 10a08 <fopen64@plt+0x308>
10a40: e59f04d4 ldr r0, [pc, #1236] ; 10f1c <fopen64@plt+0x81c>
10a44: eaffffaa b 108f4 <fopen64@plt+0x1f4>
10a48: e1a00006 mov r0, r6
10a4c: ebfffee9 bl 105f8 <printf@plt>
10a50: eafffff8 b 10a38 <fopen64@plt+0x338>
10a54: e3a02000 mov r2, #0
--
10c04: e1530004 cmp r3, r4
10c08: 0a000006 beq 10c28 <fopen64@plt+0x528>
10c0c: e59f0274 ldr r0, [pc, #628] ; 10e88 <fopen64@plt+0x788>
10c10: e58d4000 str r4, [sp]
10c14: e1a0200b mov r2, fp
10c18: e59f1334 ldr r1, [pc, #820] ; 10f54 <fopen64@plt+0x854>
10c1c: e5900000 ldr r0, [r0]
10c20: ebfffe8c bl 10658 <fprintf@plt>
10c24: eaffffc0 b 10b2c <fopen64@plt+0x42c>
10c28: e0455004 sub r5, r5, r4
10c2c: e3550000 cmp r5, #0
10c30: caffffac bgt 10ae8 <fopen64@plt+0x3e8>
10c34: e1a00006 mov r0, r6
10c38: ebfffead bl 106f4 <free@plt>
10c3c: e1a00007 mov r0, r7
10c40: ebfffea8 bl 106e8 <close@plt>
10c44: e58db000 str fp, [sp]
10c48: e1cd20d8 ldrd r2, [sp, #8]
10c4c: e59d1014 ldr r1, [sp, #20]
10c50: e59f0300 ldr r0, [pc, #768] ; 10f58 <fopen64@plt+0x858>
10c54: ebfffe67 bl 105f8 <printf@plt>
10c58: eaffff18 b 108c0 <fopen64@plt+0x1c0>
10c5c: e3a02000 mov r2, #0
--
10db8: e58d5000 str r5, [sp]
10dbc: e1a03004 mov r3, r4
10dc0: e59f2198 ldr r2, [pc, #408] ; 10f60 <fopen64@plt+0x860>
10dc4: e59f1180 ldr r1, [pc, #384] ; 10f4c <fopen64@plt+0x84c>
10dc8: e5900000 ldr r0, [r0]
10dcc: ebfffe21 bl 10658 <fprintf@plt>
10dd0: e59f0178 ldr r0, [pc, #376] ; 10f50 <fopen64@plt+0x850>
10dd4: eaffffe8 b 10d7c <fopen64@plt+0x67c>
10dd8: e0455004 sub r5, r5, r4
10ddc: e3550000 cmp r5, #0
10de0: caffffd4 bgt 10d38 <fopen64@plt+0x638>
10de4: e1a00007 mov r0, r7
10de8: ebfffe41 bl 106f4 <free@plt>
10dec: e1a00006 mov r0, r6
10df0: ebfffe2a bl 106a0 <fclose@plt>
10df4: e1cd20d8 ldrd r2, [sp, #8]
10df8: e59f0174 ldr r0, [pc, #372] ; 10f74 <fopen64@plt+0x874>
10dfc: e1cd20f0 strd r2, [sp]
10e00: e59d2014 ldr r2, [sp, #20]
10e04: e1a01008 mov r1, r8
10e08: ebfffdfa bl 105f8 <printf@plt>
10e0c: eaffff4b b 10b40 <fopen64@plt+0x440>
10e10: e3a02000 mov r2, #0
--
1105c: e8bd8010 pop {r4, pc}
11060: 00022078 andeq r2, r2, r8, ror r0
11064: 00000000 andeq r0, r0, r0
11068: 00011640 andeq r1, r1, r0, asr #12
1106c: e59f301c ldr r3, [pc, #28] ; 11090 <fopen64@plt+0x990>
11070: e3530000 cmp r3, #0
11074: 0a000004 beq 1108c <fopen64@plt+0x98c>
11078: e92d4010 push {r4, lr}
1107c: e59f1010 ldr r1, [pc, #16] ; 11094 <fopen64@plt+0x994>
11080: e59f0010 ldr r0, [pc, #16] ; 11098 <fopen64@plt+0x998>
11084: ebfffd94 bl 106dc <__register_frame_info@plt>
11088: e8bd4010 pop {r4, lr}
1108c: eaffffd6 b 10fec <fopen64@plt+0x8ec>
11090: 00000000 andeq r0, r0, r0
11094: 0002207c andeq r2, r2, ip, ror r0
11098: 00011640 andeq r1, r1, r0, asr #12
1109c: e1a01000 mov r1, r0
110a0: e92d4010 push {r4, lr}
110a4: e1a04000 mov r4, r0
110a8: e59f004c ldr r0, [pc, #76] ; 110fc <fopen64@plt+0x9fc>
110ac: ebfffd51 bl 105f8 <printf@plt>
110b0: e59f0048 ldr r0, [pc, #72] ; 11100 <fopen64@plt+0xa00>
110b4: e59f1048 ldr r1, [pc, #72] ; 11104 <fopen64@plt+0xa04>
[*] Function printf used 16 times mtd_debug