summaryrefslogtreecommitdiffstats
path: root/src/sanity.h
Commit message (Collapse)AuthorAgeFilesLines
* sanity: Don't use self-init for uninit()Tavian Barnes2024-02-121-2/+2
| | | | | | | | | | | 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'
* sanity: Suppress unused variable warnings with sanitizers offTavian Barnes2023-06-201-2/+7
|
* sanity: Make sanitize_[un]init() always a void expressionTavian Barnes2023-06-141-2/+2
|
* sanity: Add wrappers for sanitizer interfacesTavian Barnes2023-05-251-0/+89