[*] Binary protection state of ntpd
Partial RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of ntpd
234d8: e92d4007 push {r0, r1, r2, lr}
234dc: e1cd00f0 strd r0, [sp]
234e0: e3a01001 mov r1, #1
234e4: e1a0000d mov r0, sp
234e8: ebffff31 bl 231b4 <setlogmask@plt+0xdc58>
234ec: e28dd00c add sp, sp, #12
234f0: e49df004 pop {pc} ; (ldr pc, [sp], #4)
234f4: e92d000f push {r0, r1, r2, r3}
234f8: e52de004 push {lr} ; (str lr, [sp, #-4]!)
234fc: e24dd08c sub sp, sp, #140 ; 0x8c
23500: e28d3094 add r3, sp, #148 ; 0x94
23504: e59d2090 ldr r2, [sp, #144] ; 0x90
23508: e3a01080 mov r1, #128 ; 0x80
2350c: e28d0008 add r0, sp, #8
23510: e58d3004 str r3, [sp, #4]
23514: eb00eb4c bl 5e24c <setlogmask@plt+0x48cf0>
23518: e350007f cmp r0, #127 ; 0x7f
2351c: 9a000002 bls 2352c <setlogmask@plt+0xdfd0>
23520: e59f102c ldr r1, [pc, #44] ; 23554 <setlogmask@plt+0xdff8>
23524: e28d0082 add r0, sp, #130 ; 0x82
23528: ebffc7f9 bl 15514 <strcpy@plt>
2352c: e28d0008 add r0, sp, #8
23530: ebffc554 bl 14a88 <strlen@plt>
--
44ff4: e3a00000 mov r0, #0
44ff8: e1c200b0 strh r0, [r2]
44ffc: e12fff1e bx lr
45000: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr}
45004: e59f4140 ldr r4, [pc, #320] ; 4514c <setlogmask@plt+0x2fbf0>
45008: e24dd0fc sub sp, sp, #252 ; 0xfc
4500c: e0841101 add r1, r4, r1, lsl #2
45010: e1a0a000 mov sl, r0
45014: e1a00002 mov r0, r2
45018: e5916434 ldr r6, [r1, #1076] ; 0x434
4501c: e1a08002 mov r8, r2
45020: ebff3e98 bl 14a88 <strlen@plt>
45024: e59fb124 ldr fp, [pc, #292] ; 45150 <setlogmask@plt+0x2fbf4>
45028: e1a09008 mov r9, r8
4502c: e58d0004 str r0, [sp, #4]
45030: e1a00006 mov r0, r6
45034: ebff3e93 bl 14a88 <strlen@plt>
45038: e1a01006 mov r1, r6
4503c: e1a05000 mov r5, r0
45040: e28d0010 add r0, sp, #16
45044: ebff4132 bl 15514 <strcpy@plt>
45048: e2841e45 add r1, r4, #1104 ; 0x450
4504c: e28d3010 add r3, sp, #16
--
6c990: e59f1204 ldr r1, [pc, #516] ; 6cb9c <setlogmask@plt+0x57640>
6c994: e0432008 sub r2, r3, r8
6c998: e1520001 cmp r2, r1
6c99c: 9affffcb bls 6c8d0 <setlogmask@plt+0x57374>
6c9a0: eaffffd3 b 6c8f4 <setlogmask@plt+0x57398>
6c9a4: ebfea037 bl 14a88 <strlen@plt>
6c9a8: e5563004 ldrb r3, [r6, #-4]
6c9ac: e3530000 cmp r3, #0
6c9b0: e1a04000 mov r4, r0
6c9b4: 0a000018 beq 6ca1c <setlogmask@plt+0x574c0>
6c9b8: e1a00008 mov r0, r8
6c9bc: ebfea031 bl 14a88 <strlen@plt>
6c9c0: e2844002 add r4, r4, #2
6c9c4: e0840000 add r0, r4, r0
6c9c8: ebfe9ff2 bl 14998 <alloc@plt>
6c9cc: e2506000 subs r6, r0, #0
6c9d0: 1a000001 bne 6c9dc <setlogmask@plt+0x57480>
6c9d4: e3a06000 mov r6, #0
6c9d8: eaffffdd b 6c954 <setlogmask@plt+0x573f8>
6c9dc: e1a01008 mov r1, r8
6c9e0: ebfea2cb bl 15514 <strcpy@plt>
6c9e4: e1a00006 mov r0, r6
6c9e8: ebfea026 bl 14a88 <strlen@plt>
6c9ec: e0862000 add r2, r6, r0
6c9f0: e5522001 ldrb r2, [r2, #-1]
6c9f4: e1a03000 mov r3, r0
6c9f8: e352002f cmp r2, #47 ; 0x2f
6c9fc: 12800001 addne r0, r0, #1
6ca00: 13a0202f movne r2, #47 ; 0x2f
6ca04: 17c62003 strbne r2, [r6, r3]
6ca08: 17c65000 strbne r5, [r6, r0]
6ca0c: e1a01009 mov r1, r9
6ca10: e0860000 add r0, r6, r0
6ca14: ebfea2be bl 15514 <strcpy@plt>
6ca18: eaffffcd b 6c954 <setlogmask@plt+0x573f8>
6ca1c: e2800003 add r0, r0, #3
--
6ca7c: e3510000 cmp r1, #0
6ca80: 1351002f cmpne r1, #47 ; 0x2f
6ca84: e2833001 add r3, r3, #1
6ca88: e2858001 add r8, r5, #1
6ca8c: 1afffff7 bne 6ca70 <setlogmask@plt+0x57514>
6ca90: e3510000 cmp r1, #0
6ca94: 0a000022 beq 6cb24 <setlogmask@plt+0x575c8>
6ca98: e0843008 add r3, r4, r8
6ca9c: e1a00003 mov r0, r3
6caa0: e1a01000 mov r1, r0
6caa4: e5d1e000 ldrb lr, [r1]
6caa8: e040c004 sub ip, r0, r4
6caac: e35e002f cmp lr, #47 ; 0x2f
6cab0: e2800001 add r0, r0, #1
6cab4: 0afffff9 beq 6caa0 <setlogmask@plt+0x57544>
6cab8: e15c0008 cmp ip, r8
6cabc: 0a000005 beq 6cad8 <setlogmask@plt+0x5757c>
6cac0: e0840008 add r0, r4, r8
6cac4: e58d200c str r2, [sp, #12]
6cac8: e58d3008 str r3, [sp, #8]
6cacc: ebfea290 bl 15514 <strcpy@plt>
6cad0: e59d3008 ldr r3, [sp, #8]
6cad4: e59d200c ldr r2, [sp, #12]
--
6caf4: e3510000 cmp r1, #0
6caf8: 0a000007 beq 6cb1c <setlogmask@plt+0x575c0>
6cafc: e5d31000 ldrb r1, [r3]
6cb00: e351002e cmp r1, #46 ; 0x2e
6cb04: 1a000010 bne 6cb4c <setlogmask@plt+0x575f0>
6cb08: e2880001 add r0, r8, #1
6cb0c: e0841000 add r1, r4, r0
6cb10: e7d40000 ldrb r0, [r4, r0]
6cb14: e3500000 cmp r0, #0
6cb18: 1a000006 bne 6cb38 <setlogmask@plt+0x575dc>
6cb1c: e3a03000 mov r3, #0
6cb20: e5c23000 strb r3, [r2]
6cb24: e5d43000 ldrb r3, [r4]
6cb28: e3530000 cmp r3, #0
6cb2c: 05c4a000 strbeq sl, [r4]
6cb30: 05c43001 strbeq r3, [r4, #1]
6cb34: eaffff8c b 6c96c <setlogmask@plt+0x57410>
6cb38: e350002f cmp r0, #47 ; 0x2f
6cb3c: 1a000004 bne 6cb54 <setlogmask@plt+0x575f8>
6cb40: e1a00003 mov r0, r3
6cb44: ebfea272 bl 15514 <strcpy@plt>
6cb48: e1a08005 mov r8, r5
6cb4c: e1a05008 mov r5, r8
6cb50: eaffffc1 b 6ca5c <setlogmask@plt+0x57500>
6cb54: e350002e cmp r0, #46 ; 0x2e
6cb58: 1afffffb bne 6cb4c <setlogmask@plt+0x575f0>
6cb5c: e2883002 add r3, r8, #2
6cb60: e0841003 add r1, r4, r3
6cb64: e7d43003 ldrb r3, [r4, r3]
6cb68: e3530000 cmp r3, #0
6cb6c: 1353002f cmpne r3, #47 ; 0x2f
6cb70: 1afffff5 bne 6cb4c <setlogmask@plt+0x575f0>
6cb74: e2555001 subs r5, r5, #1
6cb78: 3a000002 bcc 6cb88 <setlogmask@plt+0x5762c>
6cb7c: e7d43005 ldrb r3, [r4, r5]
6cb80: e353002f cmp r3, #47 ; 0x2f
6cb84: 1afffffa bne 6cb74 <setlogmask@plt+0x57618>
6cb88: e2850001 add r0, r5, #1
6cb8c: e0840000 add r0, r4, r0
6cb90: ebfea25f bl 15514 <strcpy@plt>
6cb94: e1c58fc5 bic r8, r5, r5, asr #31
6cb98: eaffffeb b 6cb4c <setlogmask@plt+0x575f0>
--
6f488: 0affffc7 beq 6f3ac <setlogmask@plt+0x59e50>
6f48c: e3a0102f mov r1, #47 ; 0x2f
6f490: e1a0000a mov r0, sl
6f494: ebfe954b bl 149c8 <strrchr@plt>
6f498: e2507000 subs r7, r0, #0
6f49c: 0affffc2 beq 6f3ac <setlogmask@plt+0x59e50>
6f4a0: e084400b add r4, r4, fp
6f4a4: e1a00004 mov r0, r4
6f4a8: ebfe9576 bl 14a88 <strlen@plt>
6f4ac: e047700a sub r7, r7, sl
6f4b0: e2877001 add r7, r7, #1
6f4b4: e0800007 add r0, r0, r7
6f4b8: e1560000 cmp r6, r0
6f4bc: 9affffba bls 6f3ac <setlogmask@plt+0x59e50>
6f4c0: e1a02007 mov r2, r7
6f4c4: e1a0100a mov r1, sl
6f4c8: e1a00005 mov r0, r5
6f4cc: ebfe94c2 bl 147dc <emcpy@plt>
6f4d0: e1a01004 mov r1, r4
6f4d4: e0850007 add r0, r5, r7
6f4d8: ebfe980d bl 15514 <strcpy@plt>
6f4dc: e158000a cmp r8, sl
6f4e0: 0a000001 beq 6f4ec <setlogmask@plt+0x59f90>
--
73df0: e5931034 ldr r1, [r3, #52] ; 0x34
73df4: e3a02014 mov r2, #20
73df8: ebfe8448 bl 14f20 <strncpy@plt>
73dfc: ea000005 b 73e18 <setlogmask@plt+0x5e8bc>
73e00: e3a0202d mov r2, #45 ; 0x2d
73e04: e5cd2000 strb r2, [sp]
73e08: e1d330b2 ldrh r3, [r3, #2]
73e0c: e5cd3001 strb r3, [sp, #1]
73e10: e3a03000 mov r3, #0
73e14: e5cd3002 strb r3, [sp, #2]
73e18: e59f305c ldr r3, [pc, #92] ; 73e7c <setlogmask@plt+0x5e920>
73e1c: e594201c ldr r2, [r4, #28]
73e20: e7961003 ldr r1, [r6, r3]
73e24: e5950000 ldr r0, [r5]
73e28: e1a0300d mov r3, sp
73e2c: e59110d4 ldr r1, [r1, #212] ; 0xd4
73e30: ebfe84a9 bl 150dc <fprintf@plt>
73e34: eafffecf b 73978 <setlogmask@plt+0x5e41c>
73e38: e59f105c ldr r1, [pc, #92] ; 73e9c <setlogmask@plt+0x5e940>
73e3c: e08f1001 add r1, pc, r1
73e40: ebfe85b3 bl 15514 <strcpy@plt>
73e44: eafffff3 b 73e18 <setlogmask@plt+0x5e8bc>
73e48: e59f1050 ldr r1, [pc, #80] ; 73ea0 <setlogmask@plt+0x5e944>
[*] Function strcpy used 9 times ntpd