=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== lua-cqueues-20200726/README.md-89- lua-cqueues-20200726/README.md:90: - `lua51path` - install path for Lua 5.1 modules, e.g. `$(prefix)/share/lua/5.1` lua-cqueues-20200726/README.md:91: - `lua51cpath` - install path for Lua 5.1 C modules, e.g. `$(prefix)/lib/lua/5.1` lua-cqueues-20200726/README.md:92: - `lua52path` - install path for Lua 5.2 modules, e.g. `$(prefix)/share/lua/5.2` lua-cqueues-20200726/README.md:93: - `lua52cpath` - install path for Lua 5.2 C modules, e.g. `$(prefix)/lib/lua/5.2` lua-cqueues-20200726/README.md:94: - `lua53path` - install path for Lua 5.3 modules, e.g. `$(prefix)/share/lua/5.3` lua-cqueues-20200726/README.md:95: - `lua53cpath` - install path for Lua 5.3 C modules, e.g. `$(prefix)/lib/lua/5.3` lua-cqueues-20200726/README.md-96- ############################################## lua-cqueues-20200726/config.h.guess-721-#ifndef HAVE_DLADDR lua-cqueues-20200726/config.h.guess:722:#define HAVE_DLADDR (HAVE_DLOPEN && !_AIX && ((!__GLIBC__ && !AG_MUSL_MAYBE) || HAVE__GNU_SOURCE)) lua-cqueues-20200726/config.h.guess-723-#endif ############################################## lua-cqueues-20200726/doc/cqueues.tex-137- lua-cqueues-20200726/doc/cqueues.tex:138:Microsoft Windows support is basically out of the question\footnote{I have been toying with the idea of using an fd\_set in-place of a pollable descriptor on Windows, and taking the union of all fd\_sets when polling.}, for far too many reasons to put here. Aside from the more technical reasons, Windows I/O and networking programming interfaces have a fundamentally different character than on Unix. Unix historically relies on readiness polling, while Windows uses event completion callbacks. There are strengths and weaknesses to each approach. Trying to paper over the chasm between the two approaches invariably results in a framework with the strengths of neither and the weaknesses of both. The purpose of \cqueues is to leverage the strengths of polling as well as address the weaknesses. lua-cqueues-20200726/doc/cqueues.tex-139- ############################################## lua-cqueues-20200726/doc/cqueues.tex-545- lua-cqueues-20200726/doc/cqueues.tex:546:Set the maximum number of times an error will be returned to a caller before throwing an error, instead. $which$ specifies which I/O channel limit to set---``r'' for the input channel, ``w'' for the output channel, or ``rw'' for both. $which$ defaults to ``rw''. $limit$ is an integer limit. The initial $limit$ is 100. lua-cqueues-20200726/doc/cqueues.tex-547- ############################################## lua-cqueues-20200726/doc/cqueues.tex-562- lua-cqueues-20200726/doc/cqueues.tex:563:Returns the saved error conditions for the input and output channels. $which$ is a string containing one or more of the characters `r' and `w', which return the input and output channel errors respectively and in the order specified. $which$ defaults to the string ``rw''. lua-cqueues-20200726/doc/cqueues.tex-564- ############################################## lua-cqueues-20200726/doc/cqueues.tex-566- lua-cqueues-20200726/doc/cqueues.tex:567:Clears the error conditions and counters for the specified I/O channels and returns any previous errors. $which$ is a string containing one or more of the characters ``r'' and ``w'', which clears the input and output channel errors respectively, and returns the previous error numbers (or nil) in the order specified. $which$ defaults to the string ``rw''. lua-cqueues-20200726/doc/cqueues.tex-568- ############################################## lua-cqueues-20200726/doc/cqueues.tex-683-\subsubsection[\fn{socket:eof}]{\fn{socket:eof([which])}} lua-cqueues-20200726/doc/cqueues.tex:684:Returns boolean values representing whether EOF has been received on the input channel, and whether the output channel has signaled closure (e.g. \errno{EPIPE}). $which$ is a string containing one or more of the characters ``r'' and ``w'', which return the state of the input or output channel, respectively, in the order specified. $which$ defaults to ``rw''. lua-cqueues-20200726/doc/cqueues.tex-685- ############################################## lua-cqueues-20200726/doc/cqueues.tex-893- lua-cqueues-20200726/doc/cqueues.tex:894:The \fn{\_\_tostring} metamethod returns a representation of the record data only, excluding the name, type, ttl, etc. For an A record, it's equivalent to string.format(``\%s'', \fn{rr:addr()}). For MX---which has multiple members---it's string.format(``\%d \%s'', rr:preference(), rr:host()). lua-cqueues-20200726/doc/cqueues.tex-895- ############################################## lua-cqueues-20200726/mk/runlua-42-# In addition to explicit invocation, runlua supports two modes of shebang lua-cqueues-20200726/mk/runlua:43:# execution: lua-cqueues-20200726/mk/runlua-44-# ############################################## lua-cqueues-20200726/src/dns.c-273- */ lua-cqueues-20200726/src/dns.c:274:static int a_addr(lua_State *L) { lua-cqueues-20200726/src/dns.c-275- struct rr *rr = luaL_checkudata(L, 1, RR_A_CLASS); ############################################## lua-cqueues-20200726/src/dns.c-282- return 1; lua-cqueues-20200726/src/dns.c:283:} /* a_addr() */ lua-cqueues-20200726/src/dns.c-284- ############################################## lua-cqueues-20200726/src/dns.c-469- */ lua-cqueues-20200726/src/dns.c:470:static int aaaa_addr(lua_State *L) { lua-cqueues-20200726/src/dns.c-471- struct rr *rr = luaL_checkudata(L, 1, RR_AAAA_CLASS); ############################################## lua-cqueues-20200726/src/dns.c-478- return 1; lua-cqueues-20200726/src/dns.c:479:} /* aaaa_addr() */ lua-cqueues-20200726/src/dns.c-480- ############################################## lua-cqueues-20200726/src/lib/dns.c-827- lua-cqueues-20200726/src/lib/dns.c:828:static void *dns_sa_addr(int af, const void *sa, socklen_t *size) { lua-cqueues-20200726/src/lib/dns.c-829- switch (af) { ############################################## lua-cqueues-20200726/src/lib/dns.c-851- } lua-cqueues-20200726/src/lib/dns.c:852:} /* dns_sa_addr() */ lua-cqueues-20200726/src/lib/dns.c-853- ############################################## lua-cqueues-20200726/src/lib/dns.c-892- lua-cqueues-20200726/src/lib/dns.c:893: a4 = dns_sa_addr(af, a, NULL); lua-cqueues-20200726/src/lib/dns.c:894: b4 = dns_sa_addr(af, b, NULL); lua-cqueues-20200726/src/lib/dns.c-895- ############################################## lua-cqueues-20200726/src/lib/dns.c-909- lua-cqueues-20200726/src/lib/dns.c:910: a6 = dns_sa_addr(af, a, NULL); lua-cqueues-20200726/src/lib/dns.c:911: b6 = dns_sa_addr(af, b, NULL); lua-cqueues-20200726/src/lib/dns.c-912- ############################################## lua-cqueues-20200726/src/lib/dns.c-4657- lua-cqueues-20200726/src/lib/dns.c:4658: if ((error = dns_pton(af, addr.buf, dns_sa_addr(af, ss, NULL)))) lua-cqueues-20200726/src/lib/dns.c-4659- return error; ############################################## lua-cqueues-20200726/src/lib/dns.c-5389- lua-cqueues-20200726/src/lib/dns.c:5390: if ((error = dns_pton(af, addr, dns_sa_addr(af, &resconf->iface, NULL)))) lua-cqueues-20200726/src/lib/dns.c-5391- return error; ############################################## lua-cqueues-20200726/src/lib/dns.c-5467- lua-cqueues-20200726/src/lib/dns.c:5468: dns_inet_ntop(af, dns_sa_addr(af, &resconf->nameserver[i], NULL), addr, sizeof addr); lua-cqueues-20200726/src/lib/dns.c-5469- port = ntohs(*dns_sa_port(af, &resconf->nameserver[i])); ############################################## lua-cqueues-20200726/src/lib/dns.c-5532- lua-cqueues-20200726/src/lib/dns.c:5533: dns_inet_ntop(af, dns_sa_addr(af, &resconf->iface, NULL), addr, sizeof addr); lua-cqueues-20200726/src/lib/dns.c-5534- ############################################## lua-cqueues-20200726/src/lib/dns.c-5697- lua-cqueues-20200726/src/lib/dns.c:5698: if ((error = dns_pton(af, root_hints[i].addr, dns_sa_addr(af, &ss, NULL)))) lua-cqueues-20200726/src/lib/dns.c-5699- goto error; ############################################## lua-cqueues-20200726/src/lib/dns.c-5763- lua-cqueues-20200726/src/lib/dns.c:5764: addr = dns_sa_addr(AF_INET, sa, NULL); lua-cqueues-20200726/src/lib/dns.c-5765- return addr->s_addr == htonl(INADDR_ANY); ############################################## lua-cqueues-20200726/src/lib/dns.c-5939- lua-cqueues-20200726/src/lib/dns.c:5940: if ((error = dns_p_push(P, DNS_S_ADDITIONAL, "hints.local.", strlen("hints.local."), rtype, DNS_C_IN, 0, dns_sa_addr(af, sa, NULL)))) lua-cqueues-20200726/src/lib/dns.c-5941- goto error; ############################################## lua-cqueues-20200726/src/lib/dns.c-5970- lua-cqueues-20200726/src/lib/dns.c:5971: if (!(addrsoa = dns_sa_addr(af, &soa->addrs[i].ss, &addrlen))) lua-cqueues-20200726/src/lib/dns.c-5972- continue; ############################################## lua-cqueues-20200726/src/lib/dns.c-5998- lua-cqueues-20200726/src/lib/dns.c:5999: if ((error = dns_ntop(af, dns_sa_addr(af, &soa->addrs[i].ss, NULL), addr, sizeof addr))) lua-cqueues-20200726/src/lib/dns.c-6000- return error; ############################################## lua-cqueues-20200726/src/lib/dns.c-8586- lua-cqueues-20200726/src/lib/dns.c:8587: dns_inet_ntop(dns_sa_family(ent->ai_addr), dns_sa_addr(dns_sa_family(ent->ai_addr), ent->ai_addr, NULL), addr, sizeof addr); lua-cqueues-20200726/src/lib/dns.c-8588- dns_b_puts(&dst, ".ai_addr = ["); ############################################## lua-cqueues-20200726/src/lib/dns.c-9442- lua-cqueues-20200726/src/lib/dns.c:9443: if ((error = dns_pton(ss.ss_family, argv[1], dns_sa_addr(ss.ss_family, &ss, NULL)))) lua-cqueues-20200726/src/lib/dns.c-9444- panic("%s: %s", argv[1], dns_strerror(error)); ############################################## lua-cqueues-20200726/src/lib/dns.c-9449- lua-cqueues-20200726/src/lib/dns.c:9450: if (!dns_inet_ntop(ss.ss_family, dns_sa_addr(ss.ss_family, &ss, NULL), host, sizeof host)) lua-cqueues-20200726/src/lib/dns.c-9451- panic("bad host address, or none provided"); ############################################## lua-cqueues-20200726/src/lib/dns.c-9658- port.sin.sin_port = htons(5354); lua-cqueues-20200726/src/lib/dns.c:9659: port.sin.sin_addr.s_addr = inet_addr("127.0.0.1"); lua-cqueues-20200726/src/lib/dns.c-9660- ############################################## lua-cqueues-20200726/src/lib/socket.c-635- for (fp = family; fp < endof(family); fp++) { lua-cqueues-20200726/src/lib/socket.c:636: switch (inet_pton(*sa_family(fp), src, sa_addr(fp, NULL, NULL))) { lua-cqueues-20200726/src/lib/socket.c-637- case -1: ############################################## lua-cqueues-20200726/src/lib/socket.c-937- lua-cqueues-20200726/src/lib/socket.c:938:int so_reuseaddr(int fd, _Bool reuseaddr) { lua-cqueues-20200726/src/lib/socket.c-939- return so_setboolopt(fd, SOL_SOCKET, SO_REUSEADDR, reuseaddr); lua-cqueues-20200726/src/lib/socket.c:940:} /* so_reuseaddr() */ lua-cqueues-20200726/src/lib/socket.c-941- ############################################## lua-cqueues-20200726/src/lib/socket.c-2067- lua-cqueues-20200726/src/lib/socket.c:2068: if ((error = so_localaddr(so, (void *)&saddr, &slen))) lua-cqueues-20200726/src/lib/socket.c-2069- { *error_ = error; return AF_UNSPEC; } ############################################## lua-cqueues-20200726/src/lib/socket.c-2074- lua-cqueues-20200726/src/lib/socket.c:2075:int so_localaddr(struct socket *so, void *saddr, socklen_t *slen) { lua-cqueues-20200726/src/lib/socket.c-2076- int error; ############################################## lua-cqueues-20200726/src/lib/socket.c-2084- return 0; lua-cqueues-20200726/src/lib/socket.c:2085:} /* so_localaddr() */ lua-cqueues-20200726/src/lib/socket.c-2086- lua-cqueues-20200726/src/lib/socket.c-2087- lua-cqueues-20200726/src/lib/socket.c:2088:int so_remoteaddr(struct socket *so, void *saddr, socklen_t *slen) { lua-cqueues-20200726/src/lib/socket.c-2089- int error; ############################################## lua-cqueues-20200726/src/lib/socket.c-2097- return 0; lua-cqueues-20200726/src/lib/socket.c:2098:} /* so_remoteaddr() */ lua-cqueues-20200726/src/lib/socket.c-2099- ############################################## lua-cqueues-20200726/src/lib/socket.h-330- lua-cqueues-20200726/src/lib/socket.h:331:#define sa_addr(...) SO_EXTENSION sa_addr(__VA_ARGS__) lua-cqueues-20200726/src/lib/socket.h-332- ############################################## lua-cqueues-20200726/src/lib/socket.h-348- } lua-cqueues-20200726/src/lib/socket.h:349:} /* sa_addr() */ lua-cqueues-20200726/src/lib/socket.h-350- ############################################## lua-cqueues-20200726/src/lib/socket.h-480- lua-cqueues-20200726/src/lib/socket.h:481:int so_reuseaddr(int, _Bool); lua-cqueues-20200726/src/lib/socket.h-482- ############################################## lua-cqueues-20200726/src/lib/socket.h-547- lua-cqueues-20200726/src/lib/socket.h:548:int so_localaddr(struct socket *, void *, socklen_t *); lua-cqueues-20200726/src/lib/socket.h-549- lua-cqueues-20200726/src/lib/socket.h:550:int so_remoteaddr(struct socket *, void *, socklen_t *); lua-cqueues-20200726/src/lib/socket.h-551- ############################################## lua-cqueues-20200726/src/socket.c-2812- lua-cqueues-20200726/src/socket.c:2813: if ((error = so_remoteaddr(S->socket, &ss, &salen))) { lua-cqueues-20200726/src/socket.c-2814- lua_pushnil(L); ############################################## lua-cqueues-20200726/src/socket.c-2869- lua-cqueues-20200726/src/socket.c:2870: if ((error = so_localaddr(S->socket, &ss, &salen))) { lua-cqueues-20200726/src/socket.c-2871- lua_pushnil(L); ############################################## lua-cqueues-20200726/src/thread.c-227- lua-cqueues-20200726/src/thread.c:228: if (!dladdr(EXTENSION (void *)f, &key.info)) lua-cqueues-20200726/src/thread.c-229- goto dlerr; ############################################## lua-cqueues-20200726/src/thread.c-941- lua-cqueues-20200726/src/thread.c:942: if (!dladdr(EXTENSION (void *)&luaopen__cqueues_thread, &info)) { lua-cqueues-20200726/src/thread.c-943- error = -1;