[*] Binary protection state of libwebsockets.so.12
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH Symbols
[*] Function strcpy tear down of libwebsockets.so.12
62c0: ebfffa54 bl 4c18 <sprintf@plt>
62c4: e3a06000 mov r6, #0
62c8: e08a4005 add r4, sl, r5
62cc: e0893000 add r3, r9, r0
62d0: e356000f cmp r6, #15
62d4: e085b006 add fp, r5, r6
62d8: 93a02001 movls r2, #1
62dc: 83a02000 movhi r2, #0
62e0: e158000b cmp r8, fp
62e4: 93a02000 movls r2, #0
62e8: e3520000 cmp r2, #0
62ec: 1a000017 bne 6350 <lwsl_hexdump_level+0x10c>
62f0: e59f2104 ldr r2, [pc, #260] ; 63fc <lwsl_hexdump_level+0x1b8>
62f4: e08f2002 add r2, pc, r2
62f8: e356000f cmp r6, #15
62fc: e2834003 add r4, r3, #3
6300: 9a00001b bls 6374 <lwsl_hexdump_level+0x130>
6304: e59f10f4 ldr r1, [pc, #244] ; 6400 <lwsl_hexdump_level+0x1bc>
6308: e1a00003 mov r0, r3
630c: e08f1001 add r1, pc, r1
6310: ebfff896 bl 4570 <strcpy@plt>
6314: e0481005 sub r1, r8, r5
6318: e3a03000 mov r3, #0
--
6334: e3a0c020 mov ip, #32
6338: e0821000 add r1, r2, r0
633c: e351000f cmp r1, #15
6340: 9a000027 bls 63e4 <lwsl_hexdump_level+0x1a0>
6344: e2633010 rsb r3, r3, #16
6348: e0844003 add r4, r4, r3
634c: ea000019 b 63b8 <lwsl_hexdump_level+0x174>
6350: e7d42006 ldrb r2, [r4, r6]
6354: e1a00003 mov r0, r3
6358: e59d1008 ldr r1, [sp, #8]
635c: e58d300c str r3, [sp, #12]
6360: ebfffa2c bl 4c18 <sprintf@plt>
6364: e59d300c ldr r3, [sp, #12]
6368: e2866001 add r6, r6, #1
636c: e2833003 add r3, r3, #3
6370: eaffffd6 b 62d0 <lwsl_hexdump_level+0x8c>
6374: e1a01002 mov r1, r2
6378: e1a00003 mov r0, r3
637c: e58d200c str r2, [sp, #12]
6380: e2866001 add r6, r6, #1
6384: ebfff879 bl 4570 <strcpy@plt>
6388: e1a03004 mov r3, r4
638c: e59d200c ldr r2, [sp, #12]
--
cb54: ebffe0b9 bl 4e40 <lws_plat_init@plt>
cb58: e3500000 cmp r0, #0
cb5c: 1afffff1 bne cb28 <lws_create_context+0x264>
cb60: e1a00005 mov r0, r5
cb64: eb0017a3 bl 129f8 <lws_context_init_ssl_library>
cb68: e595303c ldr r3, [r5, #60] ; 0x3c
cb6c: e58430cc str r3, [r4, #204] ; 0xcc
cb70: e5953038 ldr r3, [r5, #56] ; 0x38
cb74: e3130a02 tst r3, #8192 ; 0x2000
cb78: 1a000006 bne cb98 <lws_create_context+0x2d4>
cb7c: e1a01005 mov r1, r5
cb80: e1a00004 mov r0, r4
cb84: ebffe01d bl 4c00 <lws_create_vhost@plt>
cb88: e2506000 subs r6, r0, #0
cb8c: 059f1074 ldreq r1, [pc, #116] ; cc08 <lws_create_context+0x344>
cb90: 008f1001 addeq r1, pc, r1
cb94: 0affffd1 beq cae0 <lws_create_context+0x21c>
cb98: e59f106c ldr r1, [pc, #108] ; cc0c <lws_create_context+0x348>
cb9c: e28400dc add r0, r4, #220 ; 0xdc
cba0: e08f1001 add r1, pc, r1
cba4: ebffde71 bl 4570 <strcpy@plt>
cba8: e5953034 ldr r3, [r5, #52] ; 0x34
cbac: e5843164 str r3, [r4, #356] ; 0x164
--
e474: 1affffd4 bne e3cc <lws_generate_client_handshake+0xac>
e478: e3a03028 mov r3, #40 ; 0x28
e47c: e28d2020 add r2, sp, #32
e480: e1a00006 mov r0, r6
e484: ebffd83c bl 457c <lws_b64_encode_string@plt>
e488: e3a01056 mov r1, #86 ; 0x56
e48c: e1a00004 mov r0, r4
e490: e59d6008 ldr r6, [sp, #8]
e494: ebfff09b bl a708 <lws_hdr_simple_ptr>
e498: e59f1250 ldr r1, [pc, #592] ; e6f0 <lws_generate_client_handshake+0x3d0>
e49c: e1a02008 mov r2, r8
e4a0: e08f1001 add r1, pc, r1
e4a4: e1a03000 mov r3, r0
e4a8: e1a00006 mov r0, r6
e4ac: ebffd9d9 bl 4c18 <sprintf@plt>
e4b0: e59d3008 ldr r3, [sp, #8]
e4b4: e59f1238 ldr r1, [pc, #568] ; e6f4 <lws_generate_client_handshake+0x3d4>
e4b8: e08f1001 add r1, pc, r1
e4bc: e0830000 add r0, r3, r0
e4c0: e58d0008 str r0, [sp, #8]
e4c4: ebffd829 bl 4570 <strcpy@plt>
e4c8: e59d6008 ldr r6, [sp, #8]
e4cc: e3a01057 mov r1, #87 ; 0x57
--
e518: e59d6008 ldr r6, [sp, #8]
e51c: e3130702 tst r3, #524288 ; 0x80000
e520: e3a01058 mov r1, #88 ; 0x58
e524: e1a00004 mov r0, r4
e528: 0a000065 beq e6c4 <lws_generate_client_handshake+0x3a4>
e52c: ebfff075 bl a708 <lws_hdr_simple_ptr>
e530: e59f11c4 ldr r1, [pc, #452] ; e6fc <lws_generate_client_handshake+0x3dc>
e534: e08f1001 add r1, pc, r1
e538: e1a02000 mov r2, r0
e53c: e1a00006 mov r0, r6
e540: ebffd9b4 bl 4c18 <sprintf@plt>
e544: e59d3008 ldr r3, [sp, #8]
e548: e0830000 add r0, r3, r0
e54c: e58d0008 str r0, [sp, #8]
e550: e5d431c3 ldrb r3, [r4, #451] ; 0x1c3
e554: e3130002 tst r3, #2
e558: 0a000043 beq e66c <lws_generate_client_handshake+0x34c>
e55c: e59f119c ldr r1, [pc, #412] ; e700 <lws_generate_client_handshake+0x3e0>
e560: e59d0008 ldr r0, [sp, #8]
e564: e08f1001 add r1, pc, r1
e568: ebffd800 bl 4570 <strcpy@plt>
e56c: e59d6008 ldr r6, [sp, #8]
e570: e28d8020 add r8, sp, #32
e574: e286603c add r6, r6, #60 ; 0x3c
e578: e1a01008 mov r1, r8
e57c: e1a00006 mov r0, r6
e580: e58d6008 str r6, [sp, #8]
e584: ebffd7f9 bl 4570 <strcpy@plt>
e588: e1a00008 mov r0, r8
e58c: ebffd9f8 bl 4d74 <strlen@plt>
e590: e59f116c ldr r1, [pc, #364] ; e704 <lws_generate_client_handshake+0x3e4>
e594: e08f1001 add r1, pc, r1
e598: e0860000 add r0, r6, r0
e59c: e58d0008 str r0, [sp, #8]
e5a0: ebffd7f2 bl 4570 <strcpy@plt>
e5a4: e59d3008 ldr r3, [sp, #8]
e5a8: e3a01054 mov r1, #84 ; 0x54
--
e664: e1a00008 mov r0, r8
e668: ebffd7c3 bl 457c <lws_b64_encode_string@plt>
e66c: e5972184 ldr r2, [r7, #388] ; 0x184
e670: e5943168 ldr r3, [r4, #360] ; 0x168
e674: e0855002 add r5, r5, r2
e678: e59d2008 ldr r2, [sp, #8]
e67c: e3a01018 mov r1, #24
e680: e0455002 sub r5, r5, r2
e684: e245500c sub r5, r5, #12
e688: e58d5000 str r5, [sp]
e68c: e594217c ldr r2, [r4, #380] ; 0x17c
e690: e5935004 ldr r5, [r3, #4]
e694: e1a00004 mov r0, r4
e698: e28d3008 add r3, sp, #8
e69c: e12fff35 blx r5
e6a0: e3500000 cmp r0, #0
e6a4: 1affff58 bne e40c <lws_generate_client_handshake+0xec>
e6a8: e59f1064 ldr r1, [pc, #100] ; e714 <lws_generate_client_handshake+0x3f4>
e6ac: e59d0008 ldr r0, [sp, #8]
e6b0: e08f1001 add r1, pc, r1
e6b4: ebffd7ad bl 4570 <strcpy@plt>
e6b8: e59d0008 ldr r0, [sp, #8]
e6bc: e2800002 add r0, r0, #2
--
ec08: e1a02000 mov r2, r0
ec0c: e1a00005 mov r0, r5
ec10: ebffd800 bl 4c18 <sprintf@plt>
ec14: e5942158 ldr r2, [r4, #344] ; 0x158
ec18: e5d23080 ldrb r3, [r2, #128] ; 0x80
ec1c: e3530000 cmp r3, #0
ec20: e1a05000 mov r5, r0
ec24: 0a000006 beq ec44 <lws_client_connect_2+0x14c>
ec28: e5990068 ldr r0, [r9, #104] ; 0x68
ec2c: e59f146c ldr r1, [pc, #1132] ; f0a0 <lws_client_connect_2+0x5a8>
ec30: e0800005 add r0, r0, r5
ec34: e2822080 add r2, r2, #128 ; 0x80
ec38: e08f1001 add r1, pc, r1
ec3c: ebffd7f5 bl 4c18 <sprintf@plt>
ec40: e0855000 add r5, r5, r0
ec44: e0867007 add r7, r6, r7
ec48: e5970068 ldr r0, [r7, #104] ; 0x68
ec4c: e59f1450 ldr r1, [pc, #1104] ; f0a4 <lws_client_connect_2+0x5ac>
ec50: e0800005 add r0, r0, r5
ec54: e08f1001 add r1, pc, r1
ec58: ebffd644 bl 4570 <strcpy@plt>
ec5c: e5947158 ldr r7, [r4, #344] ; 0x158
ec60: e2855002 add r5, r5, #2
--
113d0: e5801030 str r1, [r0, #48] ; 0x30
113d4: e5802034 str r2, [r0, #52] ; 0x34
113d8: e12fff1e bx lr
000113dc <ERR_error_string_n>:
113dc: e1a00001 mov r0, r1
113e0: e59f1004 ldr r1, [pc, #4] ; 113ec <ERR_error_string_n+0x10>
113e4: e08f1001 add r1, pc, r1
113e8: eaffcd92 b 4a38 <strncpy@plt>
113ec: 00006476 .word 0x00006476
000113f0 <ERR_free_strings>:
113f0: e12fff1e bx lr
000113f4 <ERR_error_string>:
113f4: e2510000 subs r0, r1, #0
113f8: e92d4010 push {r4, lr}
113fc: 0a000002 beq 1140c <ERR_error_string+0x18>
11400: e59f1010 ldr r1, [pc, #16] ; 11418 <ERR_error_string+0x24>
11404: e08f1001 add r1, pc, r1
11408: ebffcc58 bl 4570 <strcpy@plt>
1140c: e59f0008 ldr r0, [pc, #8] ; 1141c <ERR_error_string+0x28>
11410: e08f0000 add r0, pc, r0
[*] Function strcpy used 10 times libwebsockets.so.12