cosmopolitan/tool/viz/lib
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
..
thunks Change license 2020-12-27 17:18:44 -08:00
bilinearscale.c Change license 2020-12-27 17:18:44 -08:00
bilinearscale.h Initial import 2020-06-15 07:18:57 -07:00
boxblur.c Change license 2020-12-27 17:18:44 -08:00
convoindex.c Change license 2020-12-27 17:18:44 -08:00
convolution.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
convolve.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
dither.c Change license 2020-12-27 17:18:44 -08:00
doublechrominance.S Change license 2020-12-27 17:18:44 -08:00
emboss.c Change license 2020-12-27 17:18:44 -08:00
formatmatrix-byte.c Change license 2020-12-27 17:18:44 -08:00
formatmatrix-double.c Change license 2020-12-27 17:18:44 -08:00
formatmatrix-float.c Change license 2020-12-27 17:18:44 -08:00
formatmatrix-short.c Change license 2020-12-27 17:18:44 -08:00
formatstringtable-assembly.c Change license 2020-12-27 17:18:44 -08:00
formatstringtable-assertion.c Change license 2020-12-27 17:18:44 -08:00
formatstringtable-basic.c Change license 2020-12-27 17:18:44 -08:00
formatstringtable-code.c Change license 2020-12-27 17:18:44 -08:00
formatstringtable-testlib.h Initial import 2020-06-15 07:18:57 -07:00
formatstringtable.c Change license 2020-12-27 17:18:44 -08:00
formatstringtable.h Fix bugs and have emulator emulate itself 2020-08-31 05:17:31 -07:00
gaussian.c Change license 2020-12-27 17:18:44 -08:00
getxtermcodes.c Change license 2020-12-27 17:18:44 -08:00
glyphs.c Change license 2020-12-27 17:18:44 -08:00
graphic.h Initial import 2020-06-15 07:18:57 -07:00
halfblit.c Change license 2020-12-27 17:18:44 -08:00
halfblit.h Initial import 2020-06-15 07:18:57 -07:00
knobs.c Change license 2020-12-27 17:18:44 -08:00
knobs.h Initial import 2020-06-15 07:18:57 -07:00
perlin3.c Change license 2020-12-27 17:18:44 -08:00
resizegraphic.c Change license 2020-12-27 17:18:44 -08:00
sharpen.c Change license 2020-12-27 17:18:44 -08:00
sobel.c Change license 2020-12-27 17:18:44 -08:00
stringbuilder.c Change license 2020-12-27 17:18:44 -08:00
stringbuilder.h Initial import 2020-06-15 07:18:57 -07:00
unsharp.c Change license 2020-12-27 17:18:44 -08:00
vizlib.mk Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
writetoframebuffer.c Change license 2020-12-27 17:18:44 -08:00
ycbcr.h Initial import 2020-06-15 07:18:57 -07:00
ycbcr2rgb3.c Change license 2020-12-27 17:18:44 -08:00