[*] Binary protection state of flash_lock
Partial RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of flash_lock
1055c: e3a03001 mov r3, #1
10560: ea000000 b 10568 <__register_frame_info@plt+0x94>
10564: e3a03002 mov r3, #2
10568: e5843000 str r3, [r4]
1056c: ea000000 b 10574 <__register_frame_info@plt+0xa0>
10570: e5848000 str r8, [r4]
10574: e2855001 add r5, r5, #1
10578: eaffffe1 b 10504 <__register_frame_info@plt+0x30>
1057c: e59f2330 ldr r2, [pc, #816] ; 108b4 <__register_frame_info@plt+0x3e0>
10580: e59f1330 ldr r1, [pc, #816] ; 108b8 <__register_frame_info@plt+0x3e4>
10584: e59f0330 ldr r0, [pc, #816] ; 108bc <__register_frame_info@plt+0x3e8>
10588: ebffffb0 bl 10450 <printf@plt>
1058c: e3a00000 mov r0, #0
10590: ebffffcc bl 104c8 <exit@plt>
10594: e3550001 cmp r5, #1
10598: da000005 ble 105b4 <__register_frame_info@plt+0xe0>
1059c: e59f2314 ldr r2, [pc, #788] ; 108b8 <__register_frame_info@plt+0x3e4>
105a0: e59f1318 ldr r1, [pc, #792] ; 108c0 <__register_frame_info@plt+0x3ec>
105a4: e59f3318 ldr r3, [pc, #792] ; 108c4 <__register_frame_info@plt+0x3f0>
105a8: e5930000 ldr r0, [r3]
105ac: ebffffb6 bl 1048c <fprintf@plt>
105b0: eaffffe3 b 10544 <__register_frame_info@plt+0x70>
105b4: e59f330c ldr r3, [pc, #780] ; 108c8 <__register_frame_info@plt+0x3f4>
--
105f8: e0866002 add r6, r6, r2
105fc: e5962004 ldr r2, [r6, #4]
10600: e2833002 add r3, r3, #2
10604: e1570003 cmp r7, r3
10608: e5842008 str r2, [r4, #8]
1060c: c5963008 ldrgt r3, [r6, #8]
10610: ca000000 bgt 10618 <__register_frame_info@plt+0x144>
10614: e3a03000 mov r3, #0
10618: e3a01002 mov r1, #2
1061c: e584300c str r3, [r4, #12]
10620: ebffffa2 bl 104b0 <open64@plt>
10624: e2506000 subs r6, r0, #0
10628: aa000013 bge 1067c <__register_frame_info@plt+0x1a8>
1062c: ebffffa2 bl 104bc <__errno_location@plt>
10630: e59f628c ldr r6, [pc, #652] ; 108c4 <__register_frame_info@plt+0x3f0>
10634: e5943004 ldr r3, [r4, #4]
10638: e59f2278 ldr r2, [pc, #632] ; 108b8 <__register_frame_info@plt+0x3e4>
1063c: e59f1290 ldr r1, [pc, #656] ; 108d4 <__register_frame_info@plt+0x400>
10640: e5905000 ldr r5, [r0]
10644: e5960000 ldr r0, [r6]
10648: ebffff8f bl 1048c <fprintf@plt>
1064c: e1a00005 mov r0, r5
10650: e5964000 ldr r4, [r6]
--
10690: ebffff89 bl 104bc <__errno_location@plt>
10694: e59f6228 ldr r6, [pc, #552] ; 108c4 <__register_frame_info@plt+0x3f0>
10698: e5943004 ldr r3, [r4, #4]
1069c: e59f2214 ldr r2, [pc, #532] ; 108b8 <__register_frame_info@plt+0x3e4>
106a0: e59f123c ldr r1, [pc, #572] ; 108e4 <__register_frame_info@plt+0x410>
106a4: e5905000 ldr r5, [r0]
106a8: eaffffe5 b 10644 <__register_frame_info@plt+0x170>
106ac: e5940008 ldr r0, [r4, #8]
106b0: e3500000 cmp r0, #0
106b4: 0a00000b beq 106e8 <__register_frame_info@plt+0x214>
106b8: e28d100c add r1, sp, #12
106bc: eb0000ef bl 10a80 <__register_frame_info@plt+0x5ac>
106c0: e59d300c ldr r3, [sp, #12]
106c4: e3530000 cmp r3, #0
106c8: e58d0010 str r0, [sp, #16]
106cc: 0a000006 beq 106ec <__register_frame_info@plt+0x218>
106d0: e59f21e0 ldr r2, [pc, #480] ; 108b8 <__register_frame_info@plt+0x3e4>
106d4: e59f120c ldr r1, [pc, #524] ; 108e8 <__register_frame_info@plt+0x414>
106d8: e59f31e4 ldr r3, [pc, #484] ; 108c4 <__register_frame_info@plt+0x3f0>
106dc: e5930000 ldr r0, [r3]
106e0: ebffff69 bl 1048c <fprintf@plt>
106e4: ea00000a b 10714 <__register_frame_info@plt+0x240>
106e8: e58d0010 str r0, [sp, #16]
106ec: e59d3010 ldr r3, [sp, #16]
106f0: e59d2020 ldr r2, [sp, #32]
106f4: e1530002 cmp r3, r2
106f8: 3a000007 bcc 1071c <__register_frame_info@plt+0x248>
106fc: e59f01c0 ldr r0, [pc, #448] ; 108c4 <__register_frame_info@plt+0x3f0>
10700: e58d2000 str r2, [sp]
10704: e59f11e0 ldr r1, [pc, #480] ; 108ec <__register_frame_info@plt+0x418>
10708: e59f21a8 ldr r2, [pc, #424] ; 108b8 <__register_frame_info@plt+0x3e4>
1070c: e5900000 ldr r0, [r0]
10710: ebffff5d bl 1048c <fprintf@plt>
10714: e3e00000 mvn r0, #0
10718: eaffff9c b 10590 <__register_frame_info@plt+0xbc>
--
10740: 159f11a8 ldrne r1, [pc, #424] ; 108f0 <__register_frame_info@plt+0x41c>
10744: 1affffe3 bne 106d8 <__register_frame_info@plt+0x204>
10748: e3700001 cmn r0, #1
1074c: 159d3024 ldrne r3, [sp, #36] ; 0x24
10750: 059d3020 ldreq r3, [sp, #32]
10754: 10000293 mulne r0, r3, r2
10758: 058d3014 streq r3, [sp, #20]
1075c: 158d0014 strne r0, [sp, #20]
10760: e59d3010 ldr r3, [sp, #16]
10764: e59d2014 ldr r2, [sp, #20]
10768: e59d1020 ldr r1, [sp, #32]
1076c: e0830002 add r0, r3, r2
10770: e1500001 cmp r0, r1
10774: 9a000009 bls 107a0 <__register_frame_info@plt+0x2cc>
10778: e59f0144 ldr r0, [pc, #324] ; 108c4 <__register_frame_info@plt+0x3f0>
1077c: e58d1004 str r1, [sp, #4]
10780: e58d2000 str r2, [sp]
10784: e59f1168 ldr r1, [pc, #360] ; 108f4 <__register_frame_info@plt+0x420>
10788: e59f2128 ldr r2, [pc, #296] ; 108b8 <__register_frame_info@plt+0x3e4>
1078c: e5900000 ldr r0, [r0]
10790: ebffff3d bl 1048c <fprintf@plt>
10794: eaffffde b 10714 <__register_frame_info@plt+0x240>
10798: e58d2014 str r2, [sp, #20]
1079c: eaffffef b 10760 <__register_frame_info@plt+0x28c>
107a0: e5945000 ldr r5, [r4]
107a4: e3550001 cmp r5, #1
107a8: 0a000023 beq 1083c <__register_frame_info@plt+0x368>
107ac: 3a000009 bcc 107d8 <__register_frame_info@plt+0x304>
107b0: e3550002 cmp r5, #2
107b4: 059f113c ldreq r1, [pc, #316] ; 108f8 <__register_frame_info@plt+0x424>
107b8: 0a000007 beq 107dc <__register_frame_info@plt+0x308>
107bc: e59f0100 ldr r0, [pc, #256] ; 108c4 <__register_frame_info@plt+0x3f0>
107c0: e1a03005 mov r3, r5
107c4: e59f20ec ldr r2, [pc, #236] ; 108b8 <__register_frame_info@plt+0x3e4>
107c8: e59f112c ldr r1, [pc, #300] ; 108fc <__register_frame_info@plt+0x428>
107cc: e5900000 ldr r0, [r0]
107d0: ebffff2d bl 1048c <fprintf@plt>
107d4: eaffffce b 10714 <__register_frame_info@plt+0x240>
107d8: e59f1120 ldr r1, [pc, #288] ; 10900 <__register_frame_info@plt+0x42c>
107dc: e28d2010 add r2, sp, #16
107e0: e1a00006 mov r0, r6
107e4: ebffff16 bl 10444 <ioctl@plt>
107e8: e3500000 cmp r0, #0
107ec: e58d000c str r0, [sp, #12]
107f0: aa000013 bge 10844 <__register_frame_info@plt+0x370>
107f4: ebffff30 bl 104bc <__errno_location@plt>
107f8: e59f30a8 ldr r3, [pc, #168] ; 108a8 <__register_frame_info@plt+0x3d4>
107fc: e59f70c0 ldr r7, [pc, #192] ; 108c4 <__register_frame_info@plt+0x3f0>
10800: e0835105 add r5, r3, r5, lsl #2
10804: e5943004 ldr r3, [r4, #4]
10808: e59f20a8 ldr r2, [pc, #168] ; 108b8 <__register_frame_info@plt+0x3e4>
1080c: e59f10f0 ldr r1, [pc, #240] ; 10904 <__register_frame_info@plt+0x430>
10810: e5906000 ldr r6, [r0]
10814: e58d3000 str r3, [sp]
10818: e5953068 ldr r3, [r5, #104] ; 0x68
1081c: e5970000 ldr r0, [r7]
10820: ebffff19 bl 1048c <fprintf@plt>
10824: e1a00006 mov r0, r6
10828: e5974000 ldr r4, [r7]
--
10a10: e59f301c ldr r3, [pc, #28] ; 10a34 <__register_frame_info@plt+0x560>
10a14: e3530000 cmp r3, #0
10a18: 0a000004 beq 10a30 <__register_frame_info@plt+0x55c>
10a1c: e92d4010 push {r4, lr}
10a20: e59f1010 ldr r1, [pc, #16] ; 10a38 <__register_frame_info@plt+0x564>
10a24: e59f0010 ldr r0, [pc, #16] ; 10a3c <__register_frame_info@plt+0x568>
10a28: ebfffea9 bl 104d4 <__register_frame_info@plt>
10a2c: e8bd4010 pop {r4, lr}
10a30: eaffffd6 b 10990 <__register_frame_info@plt+0x4bc>
10a34: 00000000 andeq r0, r0, r0
10a38: 00022058 andeq r2, r2, r8, asr r0
10a3c: 0001107c andeq r1, r1, ip, ror r0
10a40: e92d4010 push {r4, lr}
10a44: e59f2020 ldr r2, [pc, #32] ; 10a6c <__register_frame_info@plt+0x598>
10a48: e2504000 subs r4, r0, #0
10a4c: 159f301c ldrne r3, [pc, #28] ; 10a70 <__register_frame_info@plt+0x59c>
10a50: 059f301c ldreq r3, [pc, #28] ; 10a74 <__register_frame_info@plt+0x5a0>
10a54: e59f101c ldr r1, [pc, #28] ; 10a78 <__register_frame_info@plt+0x5a4>
10a58: e5930000 ldr r0, [r3]
10a5c: e59f3018 ldr r3, [pc, #24] ; 10a7c <__register_frame_info@plt+0x5a8>
10a60: ebfffe89 bl 1048c <fprintf@plt>
10a64: e1a00004 mov r0, r4
10a68: ebfffe96 bl 104c8 <exit@plt>
--
10a80: e92d407f push {r0, r1, r2, r3, r4, r5, r6, lr}
10a84: e1a06001 mov r6, r1
10a88: e3a02000 mov r2, #0
10a8c: e28d100c add r1, sp, #12
10a90: e1a04000 mov r4, r0
10a94: ebfffe79 bl 10480 <strtol@plt>
10a98: e5d43000 ldrb r3, [r4]
10a9c: e3530000 cmp r3, #0
10aa0: e1a05000 mov r5, r0
10aa4: 0a000003 beq 10ab8 <__register_frame_info@plt+0x5e4>
10aa8: e59d300c ldr r3, [sp, #12]
10aac: e5d33000 ldrb r3, [r3]
10ab0: e3530000 cmp r3, #0
10ab4: 0a000008 beq 10adc <__register_frame_info@plt+0x608>
10ab8: e59f0028 ldr r0, [pc, #40] ; 10ae8 <__register_frame_info@plt+0x614>
10abc: e58d4000 str r4, [sp]
10ac0: e59f3024 ldr r3, [pc, #36] ; 10aec <__register_frame_info@plt+0x618>
10ac4: e59f2024 ldr r2, [pc, #36] ; 10af0 <__register_frame_info@plt+0x61c>
10ac8: e59f1024 ldr r1, [pc, #36] ; 10af4 <__register_frame_info@plt+0x620>
10acc: e5900000 ldr r0, [r0]
10ad0: ebfffe6d bl 1048c <fprintf@plt>
10ad4: e3a03001 mov r3, #1
10ad8: e5863000 str r3, [r6]
[*] Function fprintf used 9 times flash_lock