[*] Binary protection state of flash_erase
Partial RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of flash_erase
116a0: e5904000 ldr r4, [r0]
116a4: e5960000 ldr r0, [r6]
116a8: ebfffcfe bl 10aa8 <fprintf@plt>
116ac: e5965000 ldr r5, [r6]
116b0: e1a00004 mov r0, r4
116b4: ebfffcd4 bl 10a0c <strerror@plt>
116b8: e58d4000 str r4, [sp]
116bc: e59f308c ldr r3, [pc, #140] ; 11750 <free@plt+0xb94>
116c0: e3a02008 mov r2, #8
116c4: e59f1088 ldr r1, [pc, #136] ; 11754 <free@plt+0xb98>
116c8: e58d0004 str r0, [sp, #4]
116cc: e1a00005 mov r0, r5
116d0: eaffffc6 b 115f0 <free@plt+0xa34>
116d4: e3e06000 mvn r6, #0
116d8: eaffffe7 b 1167c <free@plt+0xac0>
116dc: e3760001 cmn r6, #1
116e0: 0affffda beq 11650 <free@plt+0xa94>
116e4: e1a02006 mov r2, r6
116e8: e595100c ldr r1, [r5, #12]
116ec: e1a00007 mov r0, r7
116f0: ebfffd13 bl 10b44 <sprintf@plt>
116f4: e3a01702 mov r1, #524288 ; 0x80000
116f8: e1a00007 mov r0, r7
--
11a94: 00014f9f muleq r1, pc, pc ; <UNPREDICTABLE>
11a98: 00015243 andeq r5, r1, r3, asr #4
11a9c: 000160ee andeq r6, r1, lr, ror #1
11aa0: 000152a8 andeq r5, r1, r8, lsr #5
11aa4: 000152d4 ldrdeq r5, [r1], -r4
11aa8: 00015203 andeq r5, r1, r3, lsl #4
11aac: e92d48f0 push {r4, r5, r6, r7, fp, lr}
11ab0: e28db014 add fp, sp, #20
11ab4: e24dd018 sub sp, sp, #24
11ab8: e1a07001 mov r7, r1
11abc: e1a06000 mov r6, r0
11ac0: e1a05002 mov r5, r2
11ac4: ebfffc2a bl 10b74 <strlen@plt>
11ac8: e1a02007 mov r2, r7
11acc: e1a01006 mov r1, r6
11ad0: e2800039 add r0, r0, #57 ; 0x39
11ad4: e3c00007 bic r0, r0, #7
11ad8: e04dd000 sub sp, sp, r0
11adc: e28d4010 add r4, sp, #16
11ae0: e1a00004 mov r0, r4
11ae4: ebfffc16 bl 10b44 <sprintf@plt>
11ae8: e24b101c sub r1, fp, #28
11aec: e1a00004 mov r0, r4
--
11f2c: 0001518a andeq r5, r1, sl, lsl #3
11f30: 000154e2 andeq r5, r1, r2, ror #9
11f34: 000152d3 ldrdeq r5, [r1], -r3
11f38: 00014f9f muleq r1, pc, pc ; <UNPREDICTABLE>
11f3c: e92d49f0 push {r4, r5, r6, r7, r8, fp, lr}
11f40: e28db018 add fp, sp, #24
11f44: e24dd044 sub sp, sp, #68 ; 0x44
11f48: e5907000 ldr r7, [r0]
11f4c: e1a08001 mov r8, r1
11f50: e1a00007 mov r0, r7
11f54: e1a06003 mov r6, r3
11f58: e1a05002 mov r5, r2
11f5c: ebfffb04 bl 10b74 <strlen@plt>
11f60: e1a02008 mov r2, r8
11f64: e1a01007 mov r1, r7
11f68: e2800039 add r0, r0, #57 ; 0x39
11f6c: e3c00007 bic r0, r0, #7
11f70: e04dd000 sub sp, sp, r0
11f74: e28d4008 add r4, sp, #8
11f78: e1a00004 mov r0, r4
11f7c: ebfffaf0 bl 10b44 <sprintf@plt>
11f80: e3a02032 mov r2, #50 ; 0x32
11f84: e24b1050 sub r1, fp, #80 ; 0x50
--
125f4: e1a05001 mov r5, r1
125f8: e3130001 tst r3, #1
125fc: 1a000006 bne 1261c <free@plt+0x1a60>
12600: e1a00001 mov r0, r1
12604: eb000635 bl 13ee0 <free@plt+0x3324>
12608: e2400001 sub r0, r0, #1
1260c: e16f0f10 clz r0, r0
12610: e1a002a0 lsr r0, r0, #5
12614: e24bd010 sub sp, fp, #16
12618: e8bd8870 pop {r4, r5, r6, fp, pc}
1261c: e5904004 ldr r4, [r0, #4]
12620: e1a0600d mov r6, sp
12624: e1a00004 mov r0, r4
12628: ebfff951 bl 10b74 <strlen@plt>
1262c: e1a02005 mov r2, r5
12630: e1a01004 mov r1, r4
12634: e2800011 add r0, r0, #17
12638: e3c00007 bic r0, r0, #7
1263c: e04dd000 sub sp, sp, r0
12640: e1a0000d mov r0, sp
12644: ebfff93e bl 10b44 <sprintf@plt>
12648: e1a0000d mov r0, sp
1264c: e24b107c sub r1, fp, #124 ; 0x7c
--
12724: e2843008 add r3, r4, #8
12728: e1a02006 mov r2, r6
1272c: e1a01005 mov r1, r5
12730: e2870008 add r0, r7, #8
12734: ebfffe00 bl 11f3c <free@plt+0x1380>
12738: e250a000 subs sl, r0, #0
1273c: 1affffec bne 126f4 <free@plt+0x1b38>
12740: e597800c ldr r8, [r7, #12]
12744: e1a0900d mov r9, sp
12748: e1a00008 mov r0, r8
1274c: ebfff908 bl 10b74 <strlen@plt>
12750: e1a02005 mov r2, r5
12754: e1a01008 mov r1, r8
12758: e2846051 add r6, r4, #81 ; 0x51
1275c: e280006b add r0, r0, #107 ; 0x6b
12760: e3c00007 bic r0, r0, #7
12764: e04dd000 sub sp, sp, r0
12768: e28d3010 add r3, sp, #16
1276c: e1a00003 mov r0, r3
12770: e50b3068 str r3, [fp, #-104] ; 0xffffff98
12774: ebfff8f2 bl 10b44 <sprintf@plt>
12778: e51b3068 ldr r3, [fp, #-104] ; 0xffffff98
1277c: e3a02080 mov r2, #128 ; 0x80
12780: e1a01006 mov r1, r6
12784: e1a00003 mov r0, r3
12788: ebfffbf5 bl 11764 <free@plt+0xba8>
1278c: e1a0d009 mov sp, r9
12790: e3500000 cmp r0, #0
12794: baffffd6 blt 126f4 <free@plt+0x1b38>
12798: e0866000 add r6, r6, r0
1279c: e546a001 strb sl, [r6, #-1]
127a0: e5976010 ldr r6, [r7, #16]
127a4: e2848010 add r8, r4, #16
127a8: e1a00006 mov r0, r6
127ac: ebfff8f0 bl 10b74 <strlen@plt>
127b0: e1a02005 mov r2, r5
127b4: e1a01006 mov r1, r6
127b8: e280006b add r0, r0, #107 ; 0x6b
127bc: e3c00007 bic r0, r0, #7
127c0: e04dd000 sub sp, sp, r0
127c4: e28d3010 add r3, sp, #16
127c8: e1a00003 mov r0, r3
127cc: e50b3068 str r3, [fp, #-104] ; 0xffffff98
127d0: ebfff8db bl 10b44 <sprintf@plt>
127d4: e51b3068 ldr r3, [fp, #-104] ; 0xffffff98
127d8: e3a02041 mov r2, #65 ; 0x41
--
127ec: e3500000 cmp r0, #0
127f0: baffffbf blt 126f4 <free@plt+0x1b38>
127f4: e0880000 add r0, r8, r0
127f8: e540a001 strb sl, [r0, #-1]
127fc: e28420e4 add r2, r4, #228 ; 0xe4
12800: e1a01005 mov r1, r5
12804: e5970014 ldr r0, [r7, #20]
12808: ebfffca7 bl 11aac <free@plt+0xef0>
1280c: e3500000 cmp r0, #0
12810: 1affffb7 bne 126f4 <free@plt+0x1b38>
12814: e597a018 ldr sl, [r7, #24]
12818: e1a0000a mov r0, sl
1281c: ebfff8d4 bl 10b74 <strlen@plt>
12820: e1a02005 mov r2, r5
12824: e1a0100a mov r1, sl
12828: e2800039 add r0, r0, #57 ; 0x39
1282c: e3c00007 bic r0, r0, #7
12830: e04dd000 sub sp, sp, r0
12834: e28d6010 add r6, sp, #16
12838: e1a00006 mov r0, r6
1283c: ebfff8c0 bl 10b44 <sprintf@plt>
12840: e28410d8 add r1, r4, #216 ; 0xd8
12844: e1a00006 mov r0, r6
--
128c4: b3a03000 movlt r3, #0
128c8: a58400f4 strge r0, [r4, #244] ; 0xf4
128cc: b58430f4 strlt r3, [r4, #244] ; 0xf4
128d0: e28420f8 add r2, r4, #248 ; 0xf8
128d4: e1a01005 mov r1, r5
128d8: e597002c ldr r0, [r7, #44] ; 0x2c
128dc: ebfffc72 bl 11aac <free@plt+0xef0>
128e0: e2506000 subs r6, r0, #0
128e4: 1affff82 bne 126f4 <free@plt+0x1b38>
128e8: e5977030 ldr r7, [r7, #48] ; 0x30
128ec: e1a0a00d mov sl, sp
128f0: e1a00007 mov r0, r7
128f4: ebfff89e bl 10b74 <strlen@plt>
128f8: e1a02005 mov r2, r5
128fc: e1a01007 mov r1, r7
12900: e2800039 add r0, r0, #57 ; 0x39
12904: e3c00007 bic r0, r0, #7
12908: e04dd000 sub sp, sp, r0
1290c: e28d9010 add r9, sp, #16
12910: e1a00009 mov r0, r9
12914: ebfff88a bl 10b44 <sprintf@plt>
12918: e3a01702 mov r1, #524288 ; 0x80000
1291c: e1a00009 mov r0, r9
--
14100: e58d0004 str r0, [sp, #4]
14104: e1a00007 mov r0, r7
14108: ebfff266 bl 10aa8 <fprintf@plt>
1410c: e1a00004 mov r0, r4
14110: ebfff2a3 bl 10ba4 <close@plt>
14114: e1a04006 mov r4, r6
14118: eaffffb9 b 14004 <free@plt+0x3448>
1411c: 000270c4 andeq r7, r2, r4, asr #1
14120: 0001518a andeq r5, r1, sl, lsl #3
14124: 00015191 muleq r1, r1, r1
14128: 000152d3 ldrdeq r5, [r1], -r3
1412c: 00014f9f muleq r1, pc, pc ; <UNPREDICTABLE>
14130: 00015680 andeq r5, r1, r0, lsl #13
14134: 81484d11 cmphi r8, r1, lsl sp
14138: 00015f25 andeq r5, r1, r5, lsr #30
1413c: e52de004 push {lr} ; (str lr, [sp, #-4]!)
14140: e59f101c ldr r1, [pc, #28] ; 14164 <free@plt+0x35a8>
14144: e24dd024 sub sp, sp, #36 ; 0x24
14148: e1a02000 mov r2, r0
1414c: e1a0000d mov r0, sp
14150: ebfff27b bl 10b44 <sprintf@plt>
14154: e1a0000d mov r0, sp
14158: ebffff8f bl 13f9c <free@plt+0x33e0>
--
1461c: 0001602f andeq r6, r1, pc, lsr #32
14620: 00016058 andeq r6, r1, r8, asr r0
14624: 00016091 muleq r1, r1, r0
14628: 000160c7 andeq r6, r1, r7, asr #1
1462c: 000160f4 strdeq r6, [r1], -r4
14630: 00015649 andeq r5, r1, r9, asr #12
14634: 00015ed0 ldrdeq r5, [r1], -r0
14638: 0001612c andeq r6, r1, ip, lsr #2
1463c: 00015634 andeq r5, r1, r4, lsr r6
14640: 00015630 andeq r5, r1, r0, lsr r6
14644: 0001562b andeq r5, r1, fp, lsr #12
14648: 00015627 andeq r5, r1, r7, lsr #12
1464c: 0001563f andeq r5, r1, pc, lsr r6
14650: 0001564d andeq r5, r1, sp, asr #12
14654: e92d4010 push {r4, lr}
14658: e24dd020 sub sp, sp, #32
1465c: e1a02000 mov r2, r0
14660: e1a04001 mov r4, r1
14664: e1a0000d mov r0, sp
14668: e59f1014 ldr r1, [pc, #20] ; 14684 <free@plt+0x3ac8>
1466c: ebfff134 bl 10b44 <sprintf@plt>
14670: e1a01004 mov r1, r4
14674: e1a0000d mov r0, sp
[*] Function sprintf used 10 times flash_erase