cosmopolitan/tool/build
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
..
emubin Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
emucrt Change license 2020-12-27 17:18:44 -08:00
lib Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
ar.c Change license 2020-12-27 17:18:44 -08:00
blinkenlights.c Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
build.mk Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
calculator.c Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
calculator.ctest Add chibicc 2020-12-06 16:20:21 -08:00
calculator.inc Further refine documentation 2020-12-27 17:05:03 -08:00
dropcache.c Change license 2020-12-27 17:18:44 -08:00
helpop.c Change license 2020-12-27 17:18:44 -08:00
lz4toasm.c Change license 2020-12-27 17:18:44 -08:00
mkdeps.c Change license 2020-12-27 17:18:44 -08:00
package.c Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
refactor.c Change license 2020-12-27 17:18:44 -08:00
rle.c Change license 2020-12-27 17:18:44 -08:00
rollup.c Change license 2020-12-27 17:18:44 -08:00
runit.c Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
runit.h Initial import 2020-06-15 07:18:57 -07:00
runitd.c Make PATH search do the right thing w/ empty path 2021-01-29 01:27:09 -08:00
summy.c Change license 2020-12-27 17:18:44 -08:00
tinyemu.c Fix our remarkable 184kb x86_64 emulator 2021-01-27 20:02:23 -08:00
x86combos.c Change license 2020-12-27 17:18:44 -08:00
zipobj.c Work towards improving signals and processes 2021-01-27 19:34:02 -08:00