1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Andy Green 5f348a80a0 add static stack analysis
You can get a worst-first list of stack allocators like this

$ cat ./lib/.libs/*.su | sort -k2g | tac

On x86_64, currently the ones above 100 bytes are

server.c:126:5:lws_server_socket_service	4208	static
client.c:42:5:lws_client_socket_service	1584	static
libwebsockets.c:1539:1:libwebsocket_create_context	1136	static
libwebsockets.c:783:1:libwebsocket_service_fd	656	static
client-handshake.c:3:22:__libwebsocket_client_connect_2	592	static
libwebsockets.c:2149:6:_lws_log	496	static
server-handshake.c:33:1:handshake_0405	464	static
libwebsockets.c:2102:13:lwsl_emit_stderr	352	static
client.c:351:1:lws_client_interpret_server_handshake	240	static
daemonize.c:93:1:lws_daemonize	224	static
libwebsockets.c:434:1:libwebsockets_get_peer_addresses	208	static
client.c:694:1:libwebsockets_generate_client_handshake	208	static
output.c:534:5:libwebsockets_serve_http_file	192	static
output.c:51:6:lwsl_hexdump	176	static
sha-1.c:316:1:SHA1	160	static
libwebsockets.c:157:1:libwebsocket_close_and_free_session	144	static

Signed-off-by: Andy Green <andy.green@linaro.org>
2013-02-10 10:49:15 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
base64-decode.c CMake support + fixed windows build. 2013-02-06 15:49:12 +09:00
client-handshake.c introduce keepalive option and make common socket options function 2013-02-09 14:27:38 +08:00
client-parser.c remove fixed rx buffer allow definition per protocol 2013-02-08 13:16:07 +08:00
client.c remove fixed rx buffer allow definition per protocol 2013-02-08 13:16:07 +08:00
daemonize.c Fixed build on OSX. 2013-02-06 15:49:12 +09:00
extension-deflate-frame.c remove fixed rx buffer allow definition per protocol 2013-02-08 13:16:07 +08:00
extension-deflate-frame.h Separate compression levels for server and client, 2013-01-10 12:45:54 +08:00
extension-deflate-stream.c introduce logging api and convert all library output to use it 2013-01-10 22:16:37 +08:00
extension-deflate-stream.h remove fixed rx buffer allow definition per protocol 2013-02-08 13:16:07 +08:00
extension.c deprecate x google mux 2013-01-17 19:53:16 +08:00
getifaddrs.c introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
getifaddrs.h introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
handshake.c handshake bail3 should be bail 2013-02-08 20:10:03 +08:00
libwebsockets.c dont try figure out listen_service_fd position if unset 2013-02-10 10:49:11 +08:00
libwebsockets.h introduce keepalive option and make common socket options function 2013-02-09 14:27:38 +08:00
Makefile.am add static stack analysis 2013-02-10 10:49:15 +08:00
minilex.c add lexical parser for headers 2013-01-18 01:55:48 +08:00
output.c remove need for filepath buffer on http file serve 2013-02-08 12:19:01 +08:00
parsers.c remove fixed rx buffer allow definition per protocol 2013-02-08 13:16:07 +08:00
private-libwebsockets.h introduce keepalive option and make common socket options function 2013-02-09 14:27:38 +08:00
server-handshake.c remove fixed rx buffer allow definition per protocol 2013-02-08 13:16:07 +08:00
server.c introduce keepalive option and make common socket options function 2013-02-09 14:27:38 +08:00
sha-1.c Static variable is now const. 2013-01-09 15:14:31 +08:00