cosmopolitan/net/http
Justine Tunney 1ff9ab95ac Make C memory safe like Rust
This change enables Address Sanitizer systemically w/ `make MODE=dbg`.
Our version of Rust's `unsafe` keyword is named `noasan` which is used
for two functions that do aligned memory chunking, like `strcpy.c` and
we need to fix the tiny DEFLATE code, but that's it everything else is
fabulous you can have all the fischer price security blankets you need

Best of all is we're now able to use the ASAN data in Blinkenlights to
colorize the memory dumps. See the screenshot below of a test program:

  https://justine.lol/blinkenlights/asan.png

Which is operating on float arrays stored on the stack, with red areas
indicating poisoned memory, and the green areas indicate valid memory.
2021-02-01 03:58:46 -08:00
..
csscolor.h Initial import 2020-06-15 07:18:57 -07:00
formathttpdatetime.c Change license 2020-12-27 17:18:44 -08:00
gethttpheader.c Change license 2020-12-27 17:18:44 -08:00
gethttpheader.gperf Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
gethttpheader.inc Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
gethttpmethod.c Change license 2020-12-27 17:18:44 -08:00
gethttpmethod.gperf Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
gethttpmethod.inc Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
geturischeme.gperf Initial import 2020-06-15 07:18:57 -07:00
geturischeme.inc Initial import 2020-06-15 07:18:57 -07:00
http.h Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
http.mk Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
khttpmethod.c Change license 2020-12-27 17:18:44 -08:00
negotiatehttprequest.c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
parsecontentlength.c Change license 2020-12-27 17:18:44 -08:00
parsehttpdatetime.c Change license 2020-12-27 17:18:44 -08:00
parsehttprange.c Change license 2020-12-27 17:18:44 -08:00
parsehttprequest.c Change license 2020-12-27 17:18:44 -08:00
parsehttpversion.c Change license 2020-12-27 17:18:44 -08:00
rfc2068 Initial import 2020-06-15 07:18:57 -07:00
rfc2396 Initial import 2020-06-15 07:18:57 -07:00
uri.h Initial import 2020-06-15 07:18:57 -07:00
uricspn-avx.S Change license 2020-12-27 17:18:44 -08:00
uricspn.c Remove dependency on ragel command 2021-01-17 09:42:52 -08:00
uricspn.rl Remove dependency on ragel command 2021-01-17 09:42:52 -08:00
uricspn.svgz Initial import 2020-06-15 07:18:57 -07:00
uriparse.c Remove dependency on ragel command 2021-01-17 09:42:52 -08:00
uriparse.rl Remove dependency on ragel command 2021-01-17 09:42:52 -08:00
uriparse.svgz Initial import 2020-06-15 07:18:57 -07:00
uripath.c Change license 2020-12-27 17:18:44 -08:00
urischeme.c Change license 2020-12-27 17:18:44 -08:00
urislice2cstr.c Change license 2020-12-27 17:18:44 -08:00