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
..
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00
2021-02-01 03:58:46 -08:00
2021-02-01 03:58:46 -08:00
2021-02-01 03:58:46 -08:00
2020-12-06 16:20:21 -08:00
2020-12-27 17:18:44 -08:00
2020-12-23 23:42:56 -08:00
2020-12-27 17:18:44 -08:00
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-23 23:42:56 -08:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-01 03:43:40 -08:00
2020-12-27 17:18:44 -08:00
2020-12-01 03:43:40 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-23 23:42:56 -08:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-23 23:42:56 -08:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-10-19 06:38:31 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2020-09-03 05:44:37 -07:00
2020-09-14 00:02:34 -07:00
2020-12-27 17:18:44 -08:00
2020-08-31 05:17:31 -07:00
2020-12-27 17:18:44 -08:00
2020-08-31 05:17:31 -07:00
2021-02-01 03:58:46 -08:00
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00
2021-01-16 12:05:41 -08:00