[*] Binary protection state of libwebsockets.so.15
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH Symbols
[*] Function strcpy tear down of libwebsockets.so.15
84d8: e1a00004 mov r0, r4
84dc: e12fff33 blx r3
84e0: e3500000 cmp r0, #0
84e4: 1affffaa bne 8394 <lws_create_context+0x3dc>
84e8: e2877001 add r7, r7, #1
84ec: e1d630f2 ldrsh r3, [r6, #2]
84f0: e1530007 cmp r3, r7
84f4: cafffff1 bgt 84c0 <lws_create_context+0x508>
84f8: eaffffbb b 83ec <lws_create_context+0x434>
84fc: e0284599 mla r8, r9, r5, r4
8500: e1a0200a mov r2, sl
8504: e3a01000 mov r1, #0
8508: e59800dc ldr r0, [r8, #220] ; 0xdc
850c: ebfffcec bl 78c4 <lws_realloc>
8510: e2855001 add r5, r5, #1
8514: e588b0dc str fp, [r8, #220] ; 0xdc
8518: eaffffcc b 8450 <lws_create_context+0x498>
851c: e59f10f4 ldr r1, [pc, #244] ; 8618 <lws_create_context+0x660>
8520: e2840d07 add r0, r4, #448 ; 0x1c0
8524: e08f1001 add r1, pc, r1
8528: ebfffc4b bl 765c <strcpy@plt>
852c: e5953038 ldr r3, [r5, #56] ; 0x38
8530: e3130a02 tst r3, #8192 ; 0x2000
--
8adc: b2833015 addlt r3, r3, #21
8ae0: b7d53003 ldrblt r3, [r5, r3]
8ae4: baffffe0 blt 8a6c <lws_check_utf8+0x1c>
8ae8: e3a00001 mov r0, #1
8aec: e8bd8070 pop {r4, r5, r6, pc}
8af0: 000177c5 .word 0x000177c5
8af4: 000177c1 .word 0x000177c1
00008af8 <lws_strdup>:
8af8: e92d4070 push {r4, r5, r6, lr}
8afc: e1a05000 mov r5, r0
8b00: ebfff8a1 bl 6d8c <strlen@plt>
8b04: e59f2024 ldr r2, [pc, #36] ; 8b30 <lws_strdup+0x38>
8b08: e08f2002 add r2, pc, r2
8b0c: e2801001 add r1, r0, #1
8b10: e3a00000 mov r0, #0
8b14: ebfffb6a bl 78c4 <lws_realloc>
8b18: e2504000 subs r4, r0, #0
8b1c: 0a000001 beq 8b28 <lws_strdup+0x30>
8b20: e1a01005 mov r1, r5
8b24: ebfffacc bl 765c <strcpy@plt>
8b28: e1a00004 mov r0, r4
8b2c: e8bd8070 pop {r4, r5, r6, pc}
--
c77c: e3833001 orr r3, r3, #1
c780: e5c43218 strb r3, [r4, #536] ; 0x218
c784: e59431fc ldr r3, [r4, #508] ; 0x1fc
c788: e3a0200c mov r2, #12
c78c: e0000293 mul r0, r3, r2
c790: e584916c str r9, [r4, #364] ; 0x16c
c794: e08f1001 add r1, pc, r1
c798: ebffec4e bl 78d8 <lws_zalloc>
c79c: e5953078 ldr r3, [r5, #120] ; 0x78
c7a0: e1a0600d mov r6, sp
c7a4: e5843100 str r3, [r4, #256] ; 0x100
c7a8: e5953000 ldr r3, [r5]
c7ac: e3730002 cmn r3, #2
c7b0: e584017c str r0, [r4, #380] ; 0x17c
c7b4: 0a00003d beq c8b0 <lws_create_vhost+0x3e8>
c7b8: e3730001 cmn r3, #1
c7bc: 1a00003e bne c8bc <lws_create_vhost+0x3f4>
c7c0: e59f11a4 ldr r1, [pc, #420] ; c96c <lws_create_vhost+0x4a4>
c7c4: e08f1001 add r1, pc, r1
c7c8: e1a00006 mov r0, r6
c7cc: ebffeba2 bl 765c <strcpy@plt>
c7d0: e5953078 ldr r3, [r5, #120] ; 0x78
c7d4: e3530000 cmp r3, #0
--
13a34: e3a00001 mov r0, #1
13a38: ebffce05 bl 7254 <_lws_log@plt>
13a3c: e3a04000 mov r4, #0
13a40: e1a00004 mov r0, r4
13a44: e28dd0c0 add sp, sp, #192 ; 0xc0
13a48: e8bd81f0 pop {r4, r5, r6, r7, r8, pc}
13a4c: e28d7018 add r7, sp, #24
13a50: e3a03028 mov r3, #40 ; 0x28
13a54: e1a01000 mov r1, r0
13a58: e1a02007 mov r2, r7
13a5c: e1a00006 mov r0, r6
13a60: ebffcd62 bl 6ff0 <lws_b64_encode_string@plt>
13a64: e59f10f0 ldr r1, [pc, #240] ; 13b5c <lws_generate_client_ws_handshake+0x168>
13a68: e1a02008 mov r2, r8
13a6c: e08f1001 add r1, pc, r1
13a70: e1a00004 mov r0, r4
13a74: ebffce11 bl 72c0 <sprintf@plt>
13a78: e1a01007 mov r1, r7
13a7c: e0844000 add r4, r4, r0
13a80: e1a00004 mov r0, r4
13a84: ebffcef4 bl 765c <strcpy@plt>
13a88: e1a00007 mov r0, r7
13a8c: ebffccbe bl 6d8c <strlen@plt>
13a90: e59f10c8 ldr r1, [pc, #200] ; 13b60 <lws_generate_client_ws_handshake+0x16c>
13a94: e08f1001 add r1, pc, r1
13a98: e0844000 add r4, r4, r0
13a9c: e1a00004 mov r0, r4
13aa0: ebffceed bl 765c <strcpy@plt>
13aa4: e3a01057 mov r1, #87 ; 0x57
13aa8: e1a00005 mov r0, r5
[*] Function strcpy used 5 times libwebsockets.so.15