[*] Binary protection state of ntpq
Partial RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of ntpq
170e0: e3520000 cmp r2, #0
170e4: 0affffbc beq 16fdc <setlogmask@plt+0x4498>
170e8: e3a02002 mov r2, #2
170ec: e1a01008 mov r1, r8
170f0: e59f03e8 ldr r0, [pc, #1000] ; 174e0 <setlogmask@plt+0x499c>
170f4: ebffed2d bl 125b0 <strncmp@plt>
170f8: e3500000 cmp r0, #0
170fc: 1affffb6 bne 16fdc <setlogmask@plt+0x4498>
17100: e2855002 add r5, r5, #2
17104: eaffffaf b 16fc8 <setlogmask@plt+0x4484>
17108: e3a06001 mov r6, #1
1710c: eaffffb2 b 16fdc <setlogmask@plt+0x4498>
17110: e1a03006 mov r3, r6
17114: e1a02006 mov r2, r6
17118: e1a00004 mov r0, r4
1711c: eb004e39 bl 2aa08 <setlogmask@plt+0x17ec4>
17120: e1a04000 mov r4, r0
17124: ebffed3c bl 1261c <strlen@plt>
17128: e59f13b0 ldr r1, [pc, #944] ; 174e0 <setlogmask@plt+0x499c>
1712c: e0840000 add r0, r4, r0
17130: ebffee7a bl 12b20 <strcpy@plt>
17134: e1a00004 mov r0, r4
17138: ebffed37 bl 1261c <strlen@plt>
1713c: e59f1390 ldr r1, [pc, #912] ; 174d4 <setlogmask@plt+0x4990>
17140: e0840000 add r0, r4, r0
17144: ebffee75 bl 12b20 <strcpy@plt>
17148: eaffff65 b 16ee4 <setlogmask@plt+0x43a0>
1714c: e59f0390 ldr r0, [pc, #912] ; 174e4 <setlogmask@plt+0x49a0>
--
201f8: e59f1204 ldr r1, [pc, #516] ; 20404 <setlogmask@plt+0xd8c0>
201fc: e0432008 sub r2, r3, r8
20200: e1520001 cmp r2, r1
20204: 9affffcb bls 20138 <setlogmask@plt+0xd5f4>
20208: eaffffd3 b 2015c <setlogmask@plt+0xd618>
2020c: ebffc902 bl 1261c <strlen@plt>
20210: e5563004 ldrb r3, [r6, #-4]
20214: e3530000 cmp r3, #0
20218: e1a04000 mov r4, r0
2021c: 0a000018 beq 20284 <setlogmask@plt+0xd740>
20220: e1a00008 mov r0, r8
20224: ebffc8fc bl 1261c <strlen@plt>
20228: e2844002 add r4, r4, #2
2022c: e0840000 add r0, r4, r0
20230: ebffc8d5 bl 1258c <alloc@plt>
20234: e2506000 subs r6, r0, #0
20238: 1a000001 bne 20244 <setlogmask@plt+0xd700>
2023c: e3a06000 mov r6, #0
20240: eaffffdd b 201bc <setlogmask@plt+0xd678>
20244: e1a01008 mov r1, r8
20248: ebffca34 bl 12b20 <strcpy@plt>
2024c: e1a00006 mov r0, r6
20250: ebffc8f1 bl 1261c <strlen@plt>
20254: e0862000 add r2, r6, r0
20258: e5522001 ldrb r2, [r2, #-1]
2025c: e1a03000 mov r3, r0
20260: e352002f cmp r2, #47 ; 0x2f
20264: 12800001 addne r0, r0, #1
20268: 13a0202f movne r2, #47 ; 0x2f
2026c: 17c62003 strbne r2, [r6, r3]
20270: 17c65000 strbne r5, [r6, r0]
20274: e1a01009 mov r1, r9
20278: e0860000 add r0, r6, r0
2027c: ebffca27 bl 12b20 <strcpy@plt>
20280: eaffffcd b 201bc <setlogmask@plt+0xd678>
20284: e2800003 add r0, r0, #3
--
202e4: e3510000 cmp r1, #0
202e8: 1351002f cmpne r1, #47 ; 0x2f
202ec: e2833001 add r3, r3, #1
202f0: e2858001 add r8, r5, #1
202f4: 1afffff7 bne 202d8 <setlogmask@plt+0xd794>
202f8: e3510000 cmp r1, #0
202fc: 0a000022 beq 2038c <setlogmask@plt+0xd848>
20300: e0843008 add r3, r4, r8
20304: e1a00003 mov r0, r3
20308: e1a01000 mov r1, r0
2030c: e5d1e000 ldrb lr, [r1]
20310: e040c004 sub ip, r0, r4
20314: e35e002f cmp lr, #47 ; 0x2f
20318: e2800001 add r0, r0, #1
2031c: 0afffff9 beq 20308 <setlogmask@plt+0xd7c4>
20320: e15c0008 cmp ip, r8
20324: 0a000005 beq 20340 <setlogmask@plt+0xd7fc>
20328: e0840008 add r0, r4, r8
2032c: e58d200c str r2, [sp, #12]
20330: e58d3008 str r3, [sp, #8]
20334: ebffc9f9 bl 12b20 <strcpy@plt>
20338: e59d3008 ldr r3, [sp, #8]
2033c: e59d200c ldr r2, [sp, #12]
--
2035c: e3510000 cmp r1, #0
20360: 0a000007 beq 20384 <setlogmask@plt+0xd840>
20364: e5d31000 ldrb r1, [r3]
20368: e351002e cmp r1, #46 ; 0x2e
2036c: 1a000010 bne 203b4 <setlogmask@plt+0xd870>
20370: e2880001 add r0, r8, #1
20374: e0841000 add r1, r4, r0
20378: e7d40000 ldrb r0, [r4, r0]
2037c: e3500000 cmp r0, #0
20380: 1a000006 bne 203a0 <setlogmask@plt+0xd85c>
20384: e3a03000 mov r3, #0
20388: e5c23000 strb r3, [r2]
2038c: e5d43000 ldrb r3, [r4]
20390: e3530000 cmp r3, #0
20394: 05c4a000 strbeq sl, [r4]
20398: 05c43001 strbeq r3, [r4, #1]
2039c: eaffff8c b 201d4 <setlogmask@plt+0xd690>
203a0: e350002f cmp r0, #47 ; 0x2f
203a4: 1a000004 bne 203bc <setlogmask@plt+0xd878>
203a8: e1a00003 mov r0, r3
203ac: ebffc9db bl 12b20 <strcpy@plt>
203b0: e1a08005 mov r8, r5
203b4: e1a05008 mov r5, r8
203b8: eaffffc1 b 202c4 <setlogmask@plt+0xd780>
203bc: e350002e cmp r0, #46 ; 0x2e
203c0: 1afffffb bne 203b4 <setlogmask@plt+0xd870>
203c4: e2883002 add r3, r8, #2
203c8: e0841003 add r1, r4, r3
203cc: e7d43003 ldrb r3, [r4, r3]
203d0: e3530000 cmp r3, #0
203d4: 1353002f cmpne r3, #47 ; 0x2f
203d8: 1afffff5 bne 203b4 <setlogmask@plt+0xd870>
203dc: e2555001 subs r5, r5, #1
203e0: 3a000002 bcc 203f0 <setlogmask@plt+0xd8ac>
203e4: e7d43005 ldrb r3, [r4, r5]
203e8: e353002f cmp r3, #47 ; 0x2f
203ec: 1afffffa bne 203dc <setlogmask@plt+0xd898>
203f0: e2850001 add r0, r5, #1
203f4: e0840000 add r0, r4, r0
203f8: ebffc9c8 bl 12b20 <strcpy@plt>
203fc: e1c58fc5 bic r8, r5, r5, asr #31
20400: eaffffeb b 203b4 <setlogmask@plt+0xd870>
--
22cf0: 0affffc7 beq 22c14 <setlogmask@plt+0x100d0>
22cf4: e3a0102f mov r1, #47 ; 0x2f
22cf8: e1a0000a mov r0, sl
22cfc: ebffbe28 bl 125a4 <strrchr@plt>
22d00: e2507000 subs r7, r0, #0
22d04: 0affffc2 beq 22c14 <setlogmask@plt+0x100d0>
22d08: e084400b add r4, r4, fp
22d0c: e1a00004 mov r0, r4
22d10: ebffbe41 bl 1261c <strlen@plt>
22d14: e047700a sub r7, r7, sl
22d18: e2877001 add r7, r7, #1
22d1c: e0800007 add r0, r0, r7
22d20: e1560000 cmp r6, r0
22d24: 9affffba bls 22c14 <setlogmask@plt+0x100d0>
22d28: e1a02007 mov r2, r7
22d2c: e1a0100a mov r1, sl
22d30: e1a00005 mov r0, r5
22d34: ebffbddb bl 124a8 <emcpy@plt>
22d38: e1a01004 mov r1, r4
22d3c: e0850007 add r0, r5, r7
22d40: ebffbf76 bl 12b20 <strcpy@plt>
22d44: e158000a cmp r8, sl
22d48: 0a000001 beq 22d54 <setlogmask@plt+0x10210>
--
27658: e5931034 ldr r1, [r3, #52] ; 0x34
2765c: e3a02014 mov r2, #20
27660: ebffac7a bl 12850 <strncpy@plt>
27664: ea000005 b 27680 <setlogmask@plt+0x14b3c>
27668: e3a0202d mov r2, #45 ; 0x2d
2766c: e5cd2000 strb r2, [sp]
27670: e1d330b2 ldrh r3, [r3, #2]
27674: e5cd3001 strb r3, [sp, #1]
27678: e3a03000 mov r3, #0
2767c: e5cd3002 strb r3, [sp, #2]
27680: e59f305c ldr r3, [pc, #92] ; 276e4 <setlogmask@plt+0x14ba0>
27684: e594201c ldr r2, [r4, #28]
27688: e7961003 ldr r1, [r6, r3]
2768c: e5950000 ldr r0, [r5]
27690: e1a0300d mov r3, sp
27694: e59110d4 ldr r1, [r1, #212] ; 0xd4
27698: ebffac9c bl 12910 <fprintf@plt>
2769c: eafffecf b 271e0 <setlogmask@plt+0x1469c>
276a0: e59f105c ldr r1, [pc, #92] ; 27704 <setlogmask@plt+0x14bc0>
276a4: e08f1001 add r1, pc, r1
276a8: ebffad1c bl 12b20 <strcpy@plt>
276ac: eafffff3 b 27680 <setlogmask@plt+0x14b3c>
276b0: e59f1050 ldr r1, [pc, #80] ; 27708 <setlogmask@plt+0x14bc4>
[*] Function strcpy used 9 times ntpq