[*] Binary protection state of ntpdate
Partial RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function printf tear down of ntpdate
126bc: ea00142a b 1776c <setlogmask@plt+0x5298>
126c0: e28dd008 add sp, sp, #8
126c4: e8bd8010 pop {r4, pc}
126c8: 00038614 andeq r8, r3, r4, lsl r6
126cc: 000234c0 andeq r3, r2, r0, asr #9
126d0: 0003861c andeq r8, r3, ip, lsl r6
126d4: 000234f8 strdeq r3, [r2], -r8
126d8: e92d47f0 push {r4, r5, r6, r7, r8, r9, sl, lr}
126dc: e59f71a0 ldr r7, [pc, #416] ; 12884 <setlogmask@plt+0x3b0>
126e0: e24ddd21 sub sp, sp, #2112 ; 0x840
126e4: e5973000 ldr r3, [r7]
126e8: e24dd008 sub sp, sp, #8
126ec: e3530000 cmp r3, #0
126f0: e1a05000 mov r5, r0
126f4: e2806004 add r6, r0, #4
126f8: 0a000004 beq 12710 <setlogmask@plt+0x23c>
126fc: e1a00006 mov r0, r6
12700: eb0020bc bl 1a9f8 <setlogmask@plt+0x8524>
12704: e1a01000 mov r1, r0
12708: e59f0178 ldr r0, [pc, #376] ; 12888 <setlogmask@plt+0x3b4>
1270c: ebffff58 bl 12474 <printf@plt>
12710: e59f9174 ldr r9, [pc, #372] ; 1288c <setlogmask@plt+0x3b8>
12714: e59f8174 ldr r8, [pc, #372] ; 12890 <setlogmask@plt+0x3bc>
--
127b8: eb0042af bl 2327c <setlogmask@plt+0x10da8>
127bc: e58d0028 str r0, [sp, #40] ; 0x28
127c0: e1a0000a mov r0, sl
127c4: eb0042ac bl 2327c <setlogmask@plt+0x10da8>
127c8: e3a02030 mov r2, #48 ; 0x30
127cc: e1a0100d mov r1, sp
127d0: e58d002c str r0, [sp, #44] ; 0x2c
127d4: e5980008 ldr r0, [r8, #8]
127d8: eb000e28 bl 16080 <setlogmask@plt+0x3bac>
127dc: e1a0100d mov r1, sp
127e0: e2802030 add r2, r0, #48 ; 0x30
127e4: e1a00006 mov r0, r6
127e8: ebffff89 bl 12614 <setlogmask@plt+0x140>
127ec: e5973000 ldr r3, [r7]
127f0: e3530001 cmp r3, #1
127f4: da000004 ble 1280c <setlogmask@plt+0x338>
127f8: e1a00006 mov r0, r6
127fc: eb00207d bl 1a9f8 <setlogmask@plt+0x8524>
12800: e1a01000 mov r1, r0
12804: e59f0088 ldr r0, [pc, #136] ; 12894 <setlogmask@plt+0x3c0>
12808: ebffff19 bl 12474 <printf@plt>
1280c: e5983010 ldr r3, [r8, #16]
12810: e5992004 ldr r2, [r9, #4]
--
134f4: e3530004 cmp r3, #4
134f8: 0affffe9 beq 134a4 <setlogmask@plt+0xfd0>
134fc: e59f1540 ldr r1, [pc, #1344] ; 13a44 <setlogmask@plt+0x1570>
13500: e3a00003 mov r0, #3
13504: eb001098 bl 1776c <setlogmask@plt+0x5298>
13508: eaffffe5 b 134a4 <setlogmask@plt+0xfd0>
1350c: e3530000 cmp r3, #0
13510: 0affffe3 beq 134a4 <setlogmask@plt+0xfd0>
13514: e1a02005 mov r2, r5
13518: e59f1528 ldr r1, [pc, #1320] ; 13a48 <setlogmask@plt+0x1574>
1351c: e3a00007 mov r0, #7
13520: eb001091 bl 1776c <setlogmask@plt+0x5298>
13524: eaffffde b 134a4 <setlogmask@plt+0xfd0>
13528: e5963000 ldr r3, [r6]
1352c: e3530000 cmp r3, #0
13530: 0a000004 beq 13548 <setlogmask@plt+0x1074>
13534: e2840004 add r0, r4, #4
13538: eb001d2e bl 1a9f8 <setlogmask@plt+0x8524>
1353c: e1a01000 mov r1, r0
13540: e59f0504 ldr r0, [pc, #1284] ; 13a4c <setlogmask@plt+0x1578>
13544: ebfffbca bl 12474 <printf@plt>
13548: e5948054 ldr r8, [r4, #84] ; 0x54
1354c: e3580030 cmp r8, #48 ; 0x30
13550: 0a00000a beq 13580 <setlogmask@plt+0x10ac>
13554: e358002f cmp r8, #47 ; 0x2f
13558: ca00001d bgt 135d4 <setlogmask@plt+0x1100>
1355c: e5963000 ldr r3, [r6]
13560: e3530000 cmp r3, #0
13564: 0a000002 beq 13574 <setlogmask@plt+0x10a0>
13568: e1a01008 mov r1, r8
1356c: e59f04dc ldr r0, [pc, #1244] ; 13a50 <setlogmask@plt+0x157c>
13570: ebfffbbf bl 12474 <printf@plt>
13574: e1a00004 mov r0, r4
13578: eb001722 bl 19208 <setlogmask@plt+0x6d34>
1357c: eaffffcf b 134c0 <setlogmask@plt+0xfec>
13580: e3a07000 mov r7, #0
13584: e5d41058 ldrb r1, [r4, #88] ; 0x58
13588: e1a031a1 lsr r3, r1, #3
1358c: e2033007 and r3, r3, #7
13590: e2433001 sub r3, r3, #1
13594: e3530003 cmp r3, #3
13598: 8afffff5 bhi 13574 <setlogmask@plt+0x10a0>
1359c: e2011007 and r1, r1, #7
135a0: e2413002 sub r3, r1, #2
135a4: e21300fd ands r0, r3, #253 ; 0xfd
135a8: 1a000002 bne 135b8 <setlogmask@plt+0x10e4>
135ac: e5d43059 ldrb r3, [r4, #89] ; 0x59
135b0: e353000f cmp r3, #15
135b4: 9a000008 bls 135dc <setlogmask@plt+0x1108>
135b8: e5963000 ldr r3, [r6]
135bc: e3530000 cmp r3, #0
135c0: 0affffeb beq 13574 <setlogmask@plt+0x10a0>
135c4: e5d42059 ldrb r2, [r4, #89] ; 0x59
135c8: e59f0484 ldr r0, [pc, #1156] ; 13a54 <setlogmask@plt+0x1580>
135cc: ebfffba8 bl 12474 <printf@plt>
135d0: eaffffe7 b 13574 <setlogmask@plt+0x10a0>
135d4: e3a07001 mov r7, #1
--
13784: e3530000 cmp r3, #0
13788: 03a07001 moveq r7, #1
1378c: 0a00002a beq 1383c <setlogmask@plt+0x1368>
13790: e5963000 ldr r3, [r6]
13794: e2849058 add r9, r4, #88 ; 0x58
13798: e3530003 cmp r3, #3
1379c: da00000d ble 137d8 <setlogmask@plt+0x1304>
137a0: e5940088 ldr r0, [r4, #136] ; 0x88
137a4: eb003eb4 bl 2327c <setlogmask@plt+0x10da8>
137a8: e59aa008 ldr sl, [sl, #8]
137ac: e2483030 sub r3, r8, #48 ; 0x30
137b0: e3a02030 mov r2, #48 ; 0x30
137b4: e1a01009 mov r1, r9
137b8: e58d0020 str r0, [sp, #32]
137bc: e1a0000a mov r0, sl
137c0: eb000a4f bl 16104 <setlogmask@plt+0x3c30>
137c4: e1a0200a mov r2, sl
137c8: e59d1020 ldr r1, [sp, #32]
137cc: e1a03000 mov r3, r0
137d0: e59f0288 ldr r0, [pc, #648] ; 13a60 <setlogmask@plt+0x158c>
137d4: ebfffb26 bl 12474 <printf@plt>
137d8: e3570000 cmp r7, #0
137dc: 0a00000d beq 13818 <setlogmask@plt+0x1344>
--
137e8: e59f32bc ldr r3, [pc, #700] ; 13aac <setlogmask@plt+0x15d8>
137ec: e5933008 ldr r3, [r3, #8]
137f0: e1500003 cmp r0, r3
137f4: 13a07000 movne r7, #0
137f8: 1a000006 bne 13818 <setlogmask@plt+0x1344>
137fc: e5943054 ldr r3, [r4, #84] ; 0x54
13800: e3a02030 mov r2, #48 ; 0x30
13804: e2433030 sub r3, r3, #48 ; 0x30
13808: e1a01009 mov r1, r9
1380c: eb000a3c bl 16104 <setlogmask@plt+0x3c30>
13810: e2907000 adds r7, r0, #0
13814: 13a07001 movne r7, #1
13818: e5963000 ldr r3, [r6]
1381c: e3530000 cmp r3, #0
13820: 0a000005 beq 1383c <setlogmask@plt+0x1368>
13824: e59f3238 ldr r3, [pc, #568] ; 13a64 <setlogmask@plt+0x1590>
13828: e3570000 cmp r7, #0
1382c: e59f1234 ldr r1, [pc, #564] ; 13a68 <setlogmask@plt+0x1594>
13830: e59f0234 ldr r0, [pc, #564] ; 13a6c <setlogmask@plt+0x1598>
13834: 11a01003 movne r1, r3
13838: ebfffb0d bl 12474 <printf@plt>
1383c: e5d53024 ldrb r3, [r5, #36] ; 0x24
13840: e3570000 cmp r7, #0
--
13b88: e042c003 sub ip, r2, r3
13b8c: a3e07102 mvnge r7, #-2147483648 ; 0x80000000
13b90: aa000003 bge 13ba4 <setlogmask@plt+0x16d0>
13b94: e3700801 cmn r0, #65536 ; 0x10000
13b98: c1a0782c lsrgt r7, ip, #16
13b9c: c1877800 orrgt r7, r7, r0, lsl #16
13ba0: d3a07102 movle r7, #-2147483648 ; 0x80000000
13ba4: e5963000 ldr r3, [r6]
13ba8: e3530003 cmp r3, #3
13bac: da00000a ble 13bdc <setlogmask@plt+0x1708>
13bb0: e3a02006 mov r2, #6
13bb4: e1a00009 mov r0, r9
13bb8: eb000bfe bl 16bb8 <setlogmask@plt+0x46e4>
13bbc: e3a01005 mov r1, #5
13bc0: e1a0a000 mov sl, r0
13bc4: e1a00007 mov r0, r7
13bc8: eb000b68 bl 16970 <setlogmask@plt+0x449c>
13bcc: e1a0100a mov r1, sl
13bd0: e1a02000 mov r2, r0
13bd4: e51f0164 ldr r0, [pc, #-356] ; 13a78 <setlogmask@plt+0x15a4>
13bd8: ebfffa25 bl 12474 <printf@plt>
13bdc: e1d502d3 ldrsb r0, [r5, #35] ; 0x23
13be0: e2603000 rsb r3, r0, #0
--
13dec: e59400ac ldr r0, [r4, #172] ; 0xac
13df0: e0422000 sub r2, r2, r0
13df4: e3520000 cmp r2, #0
13df8: b2622000 rsblt r2, r2, #0
13dfc: e3520501 cmp r2, #4194304 ; 0x400000
13e00: a3a02501 movge r2, #4194304 ; 0x400000
13e04: e5930100 ldr r0, [r3, #256] ; 0x100
13e08: e0802132 add r2, r0, r2, lsr r1
13e0c: e2811001 add r1, r1, #1
13e10: e5832100 str r2, [r3, #256] ; 0x100
13e14: eaffffeb b 13dc8 <setlogmask@plt+0x18f4>
13e18: e5d41022 ldrb r1, [r4, #34] ; 0x22
13e1c: e3510000 cmp r1, #0
13e20: 1a000008 bne 13e48 <setlogmask@plt+0x1974>
13e24: e3520000 cmp r2, #0
13e28: 0a000004 beq 13e40 <setlogmask@plt+0x196c>
13e2c: e2840004 add r0, r4, #4
13e30: eb001af0 bl 1a9f8 <setlogmask@plt+0x8524>
13e34: e1a01000 mov r1, r0
13e38: e51f03b0 ldr r0, [pc, #-944] ; 13a90 <setlogmask@plt+0x15bc>
13e3c: ebfff98c bl 12474 <printf@plt>
13e40: e5944000 ldr r4, [r4]
13e44: eafffcf3 b 13218 <setlogmask@plt+0xd44>
[*] Function printf used 9 times ntpdate