| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This wraps __sanitizer_annotate_contiguous_container() to give
byte-precise tracking of usable allocation sizes with ASan.
|
|
|
|
|
| |
It's probably nicer to avoid evaluating expensive arguments when not
sanitizing, rather than relying on the optimizer to clean them up.
|
|
|
|
|
| |
We might want to change the size of an allocated region without changing
which bytes are initialized.
|
|
|
|
|
|
| |
This replaces the explicit CPPFLAGS list in flags.mk with just
`-include src/prelude.h`, shortening our compiler command lines and
allowing them to be easily documented.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Self-initialization like
bool ret = ret;
is a GCC trick to suppress uninitialized variable warnings, but it's not
actually well-defined, and will trip a recent enough MemorySanitizer:
src/eval.c:1088:13: runtime error: load of value 128, which is not a valid value for type 'bool'
|
| |
|
| |
|
|
|