cosmopolitan/third_party
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
..
blas Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
chibicc Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
compiler_rt Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
dlmalloc Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
duktape Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
f2c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
gcc Initial import 2020-06-15 07:18:57 -07:00
gdtoa Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
getopt Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
lemon Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
lz4cli Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
musl Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
regex Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
stb Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
xed Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
zlib Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
third_party.mk Make C memory safe like Rust 2021-02-01 03:58:46 -08:00