Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sanity: Get rid of sanitize_ignore() | Tavian Barnes | 7 days | 1 | -9/+4 |
| | | | | | It's probably nicer to avoid evaluating expensive arguments when not sanitizing, rather than relying on the optimizer to clean them up. | ||||
* | sanity: Don't mark memory uninit in sanitize_{alloc,free}() | Tavian Barnes | 2024-11-02 | 1 | -7/+7 |
| | | | | | We might want to change the size of an allocated region without changing which bytes are initialized. | ||||
* | build: Move feature test macros to prelude.h | Tavian Barnes | 2024-08-28 | 1 | -2/+0 |
| | | | | | | 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. | ||||
* | prelude: Split bfs-specific utilities into new bfs.h header | Tavian Barnes | 2024-08-28 | 1 | -0/+1 |
| | |||||
* | prelude: Define __SANITIZE_*__ | Tavian Barnes | 2024-08-28 | 1 | -15/+3 |
| | |||||
* | Rename config.h to prelude.h | Tavian Barnes | 2024-04-19 | 1 | -1/+1 |
| | |||||
* | sanity: Don't use self-init for uninit() | Tavian Barnes | 2024-02-12 | 1 | -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 off | Tavian Barnes | 2023-06-20 | 1 | -2/+7 |
| | |||||
* | sanity: Make sanitize_[un]init() always a void expression | Tavian Barnes | 2023-06-14 | 1 | -2/+2 |
| | |||||
* | sanity: Add wrappers for sanitizer interfaces | Tavian Barnes | 2023-05-25 | 1 | -0/+89 |