cosmopolitan/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
..
bootstrap Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
actuallynice Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
archive Make minor improvements 2020-11-09 15:41:11 -08:00
assemble Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
bochs-debugger Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
bochs-scriptable Initial import 2020-06-15 07:18:57 -07:00
catcode Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
compile Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
config.mk Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
definitions.mk Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
do Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
findtmp Initial import 2020-06-15 07:18:57 -07:00
functions.mk Initial import 2020-06-15 07:18:57 -07:00
getccname Enhance chibicc 2020-12-09 04:00:48 -08:00
getccversion Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
getlogfmt Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
htags Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
includeall Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
link Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
mkdeps Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
objdump Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
online.mk Initial import 2020-06-15 07:18:57 -07:00
package Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
realify.sed Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
realify.sh Make more improvements 2020-09-28 01:20:34 -07:00
rle.py Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
rollup Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
rules.mk Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
runcom Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
sanitycheck Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
sanitycheck2 Fix bug in code written a priori 2020-08-31 21:02:14 -07:00
ssh Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
zipobj Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00