cosmopolitan/ape
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
..
etc Initial import 2020-06-15 07:18:57 -07:00
lib Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
ape.lds Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
ape.mk Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ape.S Increase Windows stack size (#32) 2021-01-30 10:08:28 -08:00
config.h Auto-generate some documentation 2020-12-26 02:09:07 -08:00
idata.internal.h Fix another bootloader glitch (#20) 2021-01-17 17:55:42 -08:00
macros.internal.h Make improvements 2020-12-01 03:43:40 -08:00
mz.ansi Initial import 2020-06-15 07:18:57 -07:00
notice.inc Initial import 2020-06-15 07:18:57 -07:00
relocations.h Auto-generate some documentation 2020-12-26 02:09:07 -08:00