=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== lua-luv-1.36.0-0/.ci/bindcov.sh-35-# get all public uv_ functions from uv.h lua-luv-1.36.0-0/.ci/bindcov.sh:36:for fn in `grep -oP "UV_EXTERN [^\(]+ uv_[^\(]+\(" deps/libuv/include/uv.h | sed 's/($//' | grep -oP "[^ ]+$"`; do lua-luv-1.36.0-0/.ci/bindcov.sh-37- # skip everything in the skipped array and any initialization/cleanup fns ############################################## lua-luv-1.36.0-0/.ci/bindcov.sh-41- # count all uses lua-luv-1.36.0-0/.ci/bindcov.sh:42: count=`grep -o "$fn" src/*.c | wc -l` lua-luv-1.36.0-0/.ci/bindcov.sh-43- # check if a luv_ version exists ############################################## lua-luv-1.36.0-0/deps/luajit.cmake-76- set ( CMAKE_EXE_LINKER_FLAGS "-pagezero_size 10000 -image_base 100000000 ${CMAKE_EXE_LINKER_FLAGS}" ) lua-luv-1.36.0-0/deps/luajit.cmake:77: set ( LJVM_MODE machasm ) lua-luv-1.36.0-0/deps/luajit.cmake-78-else () lua-luv-1.36.0-0/deps/luajit.cmake:79: set ( LJVM_MODE elfasm ) lua-luv-1.36.0-0/deps/luajit.cmake-80-endif () ############################################## lua-luv-1.36.0-0/src/dns.c-268- if (!ip) ip = "0.0.0.0"; lua-luv-1.36.0-0/src/dns.c:269: if (!uv_ip4_addr(ip, port, (struct sockaddr_in*)&addr)) { lua-luv-1.36.0-0/src/dns.c-270- addr.ss_family = AF_INET; lua-luv-1.36.0-0/src/dns.c-271- } lua-luv-1.36.0-0/src/dns.c:272: else if (!uv_ip6_addr(ip, port, (struct sockaddr_in6*)&addr)) { lua-luv-1.36.0-0/src/dns.c-273- addr.ss_family = AF_INET6; ############################################## lua-luv-1.36.0-0/src/private.h-71-/* From tcp.c */ lua-luv-1.36.0-0/src/private.h:72:static void parse_sockaddr(lua_State* L, struct sockaddr_storage* address); lua-luv-1.36.0-0/src/private.h-73-static void luv_connect_cb(uv_connect_t* req, int status); ############################################## lua-luv-1.36.0-0/src/tcp.c-107- int ret; lua-luv-1.36.0-0/src/tcp.c:108: if (uv_ip4_addr(host, port, (struct sockaddr_in*)&addr) && lua-luv-1.36.0-0/src/tcp.c:109: uv_ip6_addr(host, port, (struct sockaddr_in6*)&addr)) { lua-luv-1.36.0-0/src/tcp.c-110- return luaL_error(L, "Invalid IP address or port [%s:%d]", host, port); ############################################## lua-luv-1.36.0-0/src/tcp.c-120- lua-luv-1.36.0-0/src/tcp.c:121:static void parse_sockaddr(lua_State* L, struct sockaddr_storage* address) { lua-luv-1.36.0-0/src/tcp.c-122- char ip[INET6_ADDRSTRLEN]; ############################################## lua-luv-1.36.0-0/src/tcp.c-148- if (ret < 0) return luv_error(L, ret); lua-luv-1.36.0-0/src/tcp.c:149: parse_sockaddr(L, &address); lua-luv-1.36.0-0/src/tcp.c-150- return 1; ############################################## lua-luv-1.36.0-0/src/tcp.c-158- if (ret < 0) return luv_error(L, ret); lua-luv-1.36.0-0/src/tcp.c:159: parse_sockaddr(L, &address); lua-luv-1.36.0-0/src/tcp.c-160- return 1; ############################################## lua-luv-1.36.0-0/src/tcp.c-186- luv_handle_t* lhandle = handle->data; lua-luv-1.36.0-0/src/tcp.c:187: if (uv_ip4_addr(host, port, (struct sockaddr_in*)&addr) && lua-luv-1.36.0-0/src/tcp.c:188: uv_ip6_addr(host, port, (struct sockaddr_in6*)&addr)) { lua-luv-1.36.0-0/src/tcp.c-189- return luaL_error(L, "Invalid IP address or port [%s:%d]", host, port); ############################################## lua-luv-1.36.0-0/src/udp.c-87- int ret; lua-luv-1.36.0-0/src/udp.c:88: if (uv_ip4_addr(host, port, (struct sockaddr_in*)&addr) && lua-luv-1.36.0-0/src/udp.c:89: uv_ip6_addr(host, port, (struct sockaddr_in6*)&addr)) { lua-luv-1.36.0-0/src/udp.c-90- return luaL_error(L, "Invalid IP address or port [%s:%d]", host, port); ############################################## lua-luv-1.36.0-0/src/udp.c-110- if (ret < 0) return luv_error(L, ret); lua-luv-1.36.0-0/src/udp.c:111: parse_sockaddr(L, &address); lua-luv-1.36.0-0/src/udp.c-112- return 1; ############################################## lua-luv-1.36.0-0/src/udp.c-178- lua-luv-1.36.0-0/src/udp.c:179:static struct sockaddr* luv_check_addr(lua_State *L, struct sockaddr_storage* addr, int hostidx, int portidx) { lua-luv-1.36.0-0/src/udp.c-180- const char* host; ############################################## lua-luv-1.36.0-0/src/udp.c-191- if (host_type == LUA_TSTRING && port_type == LUA_TNUMBER) { lua-luv-1.36.0-0/src/udp.c:192: if (uv_ip4_addr(host, port, (struct sockaddr_in*)addr) && lua-luv-1.36.0-0/src/udp.c:193: uv_ip6_addr(host, port, (struct sockaddr_in6*)addr)) { lua-luv-1.36.0-0/src/udp.c-194- luaL_error(L, "Invalid IP address or port [%s:%d]", host, port); ############################################## lua-luv-1.36.0-0/src/udp.c-212- port = luaL_checkinteger(L, portidx); lua-luv-1.36.0-0/src/udp.c:213: if (uv_ip4_addr(host, port, (struct sockaddr_in*)addr) && lua-luv-1.36.0-0/src/udp.c:214: uv_ip6_addr(host, port, (struct sockaddr_in6*)addr)) { lua-luv-1.36.0-0/src/udp.c-215- luaL_error(L, "Invalid IP address or port [%s:%d]", host, port); ############################################## lua-luv-1.36.0-0/src/udp.c-228- luv_handle_t* lhandle = handle->data; lua-luv-1.36.0-0/src/udp.c:229: addr_ptr = luv_check_addr(L, &addr, 3, 4); lua-luv-1.36.0-0/src/udp.c-230- ref = luv_check_continuation(L, 5); ############################################## lua-luv-1.36.0-0/src/udp.c-252- uv_buf_t* bufs = luv_check_bufs_noref(L, 2, &count); lua-luv-1.36.0-0/src/udp.c:253: addr_ptr = luv_check_addr(L, &addr, 3, 4); lua-luv-1.36.0-0/src/udp.c-254- err_or_num_bytes = uv_udp_try_send(handle, bufs, count, addr_ptr); ############################################## lua-luv-1.36.0-0/src/udp.c-299- if (addr) { lua-luv-1.36.0-0/src/udp.c:300: parse_sockaddr(L, (struct sockaddr_storage*)addr); lua-luv-1.36.0-0/src/udp.c-301- } ############################################## lua-luv-1.36.0-0/src/udp.c-346- struct sockaddr_storage addr; lua-luv-1.36.0-0/src/udp.c:347: struct sockaddr* addr_ptr = luv_check_addr(L, &addr, 2, 3); lua-luv-1.36.0-0/src/udp.c-348- int ret = uv_udp_connect(handle, addr_ptr); ############################################## lua-luv-1.36.0-0/src/udp.c-357- if (ret < 0) return luv_error(L, ret); lua-luv-1.36.0-0/src/udp.c:358: parse_sockaddr(L, &address); lua-luv-1.36.0-0/src/udp.c-359- return 1;